aboutsummaryrefslogtreecommitdiffstats
path: root/main/awall
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2014-05-05 11:52:43 +0300
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2014-05-05 11:52:43 +0300
commit6316926dd58fad3d8c4c059fa3c48e5c460039a5 (patch)
tree7297d598dbcc8fe4b87f2ab130a69f1e9891830c /main/awall
parent1bb1827fa43c189ad0c0e02dac8bafb8e13aa195 (diff)
downloadaports-6316926dd58fad3d8c4c059fa3c48e5c460039a5.tar.bz2
aports-6316926dd58fad3d8c4c059fa3c48e5c460039a5.tar.xz
main/awall: trigger translation on installed policy update
Diffstat (limited to 'main/awall')
-rw-r--r--main/awall/APKBUILD3
-rw-r--r--main/awall/awall.trigger3
2 files changed, 5 insertions, 1 deletions
diff --git a/main/awall/APKBUILD b/main/awall/APKBUILD
index 1f3aa0b55e..e575a22adf 100644
--- a/main/awall/APKBUILD
+++ b/main/awall/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
pkgname=awall
pkgver=1.2.1
-pkgrel=0
+pkgrel=1
pkgdesc="Alpine Wall"
url="http://git.alpinelinux.org/cgit/awall/"
arch="noarch"
@@ -11,6 +11,7 @@ replaces="awall-nat"
depends="bind-tools ip6tables ipset iptables lua lua-alt-getopt lua-cjson
lua-filesystem lua-pc lua-signal lua-sleep lua-stringy xtables-addons"
subpackages=$pkgname-masquerade
+triggers="$pkgname.trigger=/usr/share/awall"
source=http://dev.alpinelinux.org/archive/awall/awall-$pkgver.tar.xz
_builddir=$srcdir/awall-$pkgver
diff --git a/main/awall/awall.trigger b/main/awall/awall.trigger
new file mode 100644
index 0000000000..5c802e4945
--- /dev/null
+++ b/main/awall/awall.trigger
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec /usr/sbin/awall translate