From 722e9d51ce6599b5a2a89265e0211ad66479c390 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 24 Jul 2009 17:35:27 +0000 Subject: main/gross: fix link in /etc/runlevels fixes #72 --- main/gross/APKBUILD | 4 ++-- main/gross/gross.post-upgrade | 3 ++- 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 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 -- cgit v1.2.3