summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-07-24 17:35:27 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-07-24 17:35:27 +0000
commit722e9d51ce6599b5a2a89265e0211ad66479c390 (patch)
tree7555c10452582ea79773fec73f531497dd511617
parenta789d38116786c218207863527327e58168ae088 (diff)
downloadaports-722e9d51ce6599b5a2a89265e0211ad66479c390.tar.bz2
aports-722e9d51ce6599b5a2a89265e0211ad66479c390.tar.xz
main/gross: fix link in /etc/runlevels
fixes #72
-rw-r--r--main/gross/APKBUILD4
-rw-r--r--main/gross/gross.post-upgrade3
2 files changed, 4 insertions, 3 deletions
diff --git a/main/gross/APKBUILD b/main/gross/APKBUILD
index 2dac13a6..dd110453 100644
--- a/main/gross/APKBUILD
+++ b/main/gross/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gross
pkgver=1.0.1
-pkgrel=2
+pkgrel=3
pkgdesc="Greylisting of suspicious sources"
url="http://code.google.com/p/gross/"
license="BSD"
@@ -54,4 +54,4 @@ bb75b119ac96b8f99831ce6df810003f gross-1.0.1-configure.ac.patch
8f6e45b98888dbb9971f7681bf431f6f gross.pre-install
4b55d1c5534167946cc11376d1b05c34 gross.post-install
87e7d76dace9cedf61efc04cdb6a905c gross.pre-upgrade
-46df3a643ba26f3eb2d6a09f616e421d gross.post-upgrade"
+9268f51b276ba00b0f50df322e34434e gross.post-upgrade"
diff --git a/main/gross/gross.post-upgrade b/main/gross/gross.post-upgrade
index 1e52785e..ff1c806d 100644
--- a/main/gross/gross.post-upgrade
+++ b/main/gross/gross.post-upgrade
@@ -3,7 +3,8 @@
moved=
for i in /etc/runlevels/*/gross; do
if [ -L $i ]; then
- mv ${i} ${i}d
+ rm ${i}
+ ln -s /etc/init.d/grossd ${i}d
moved=1
fi
done