diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2017-11-02 20:07:26 +0200 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2017-11-02 20:07:26 +0200 |
commit | f3f7d3caa82e620bd03ec8747524d15162720071 (patch) | |
tree | 62cc94268e6521e2c73948e3a72b2e322ee4510f /main | |
parent | d17c5fb6150ebf82f9b4277dce4129b085bcb48b (diff) | |
download | aports-f3f7d3caa82e620bd03ec8747524d15162720071.tar.bz2 aports-f3f7d3caa82e620bd03ec8747524d15162720071.tar.xz |
main/awall: do not auto-translate unless files exist
Diffstat (limited to 'main')
-rw-r--r-- | main/awall/APKBUILD | 2 | ||||
-rw-r--r-- | main/awall/awall.trigger | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/main/awall/APKBUILD b/main/awall/APKBUILD index 629fab4ecb..a68ef1fc4f 100644 --- a/main/awall/APKBUILD +++ b/main/awall/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> pkgname=awall pkgver=1.4.8 -pkgrel=0 +pkgrel=1 pkgdesc="Alpine Wall" url="http://git.alpinelinux.org/cgit/awall/" _luaver=5.2 diff --git a/main/awall/awall.trigger b/main/awall/awall.trigger index 5c802e4945..dbd9f890cd 100644 --- a/main/awall/awall.trigger +++ b/main/awall/awall.trigger @@ -1,3 +1,8 @@ #!/bin/sh +# trigger script for awall +# Copyright (c) 2014-2017 Kaarle Ritvanen + +[ -f /etc/iptables/awall-save ] || exit 0 + exec /usr/sbin/awall translate |