Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=e31cf306cfd00ecf3c2dcd124fd4304cee14e57e

commit e31cf306cfd00ecf3c2dcd124fd4304cee14e57e
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Wed Aug 24 01:23:33 2011 +0200

sysvinit-2.88-11-i686

- better upgrade path for rc.single and rc.reboot

diff --git a/source/base-extra/sysvinit/FrugalBuild 
b/source/base-extra/sysvinit/FrugalBuild
index 0a73205..d420416 100644
--- a/source/base-extra/sysvinit/FrugalBuild
+++ b/source/base-extra/sysvinit/FrugalBuild
@@ -4,7 +4,7 @@
pkgname=sysvinit
pkgver=2.88
pkgextraver=dsf
-pkgrel=10
+pkgrel=11
pkgdesc="Init, the parent of all processes"
url="ftp://ftp.cistron.nl/pub/people/miquels/sysvinit/";
depends=()
diff --git a/source/base-extra/sysvinit/sysvinit-initscripts.install 
b/source/base-extra/sysvinit/sysvinit-initscripts.install
index caaf874..122f4f5 100644
--- a/source/base-extra/sysvinit/sysvinit-initscripts.install
+++ b/source/base-extra/sysvinit/sysvinit-initscripts.install
@@ -2,6 +2,13 @@ post_install() {
chkconfig --add rc.local
}

+post_upgrade() {
+       # can be removed after Frugalware-1.6
+       rm -f /etc/rc.d/rc?.d/???rc.single
+       rm -f /etc/rc.d/rc?.d/???rc.reboot
+       rmdir /etc/rc.d/rcS.d &>/dev/null
+}
+
pre_remove() {
chkconfig --del rc.local
}
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to