[Pkg-sysvinit-commits] r1745 - sysvinit/trunk/debian

Petter Reinholdtsen pere at alioth.debian.org
Wed Sep 9 18:44:47 UTC 2009


Author: pere
Date: 2009-09-09 18:44:47 +0000 (Wed, 09 Sep 2009)
New Revision: 1745

Modified:
   sysvinit/trunk/debian/changelog
   sysvinit/trunk/debian/sysv-rc.postrm
   sysvinit/trunk/debian/sysv-rc.prerm
Log:
Remove /var/lib/update-rc.d/* when the package is purged.

Modified: sysvinit/trunk/debian/changelog
===================================================================
--- sysvinit/trunk/debian/changelog	2009-09-09 18:18:37 UTC (rev 1744)
+++ sysvinit/trunk/debian/changelog	2009-09-09 18:44:47 UTC (rev 1745)
@@ -3,10 +3,10 @@
   * Make sysv-rc postinst report detected problems to stderr too when
     failing to migrate.
   * Fix typo in error message from postinst (Closes: #545409).
-  * Make initscripts depend on sysvinit-utils (>= 2.86.ds1-64), to make
-    sure the fstab-decode program is available (Closes: #545356).
-  * Make sure the calls to 'update-rc.d X remove' in initscripts postinst
-    do not ignore errors (Closes: #406361).
+  * Make initscripts depend on sysvinit-utils (>= 2.86.ds1-64), to
+    make sure the fstab-decode program is available (Closes: #545356).
+  * Make sure the calls to 'update-rc.d X remove' in initscripts
+    postinst do not ignore errors (Closes: #406361).
   * Make sysvinit depend on sysvinit-utils (>= 2.86.ds1-66) to avoid
     that bootlogd disappear during partial upgrades (Closes: #545368).
   * Restructure source package to make it possible to use debhelper in
@@ -15,7 +15,9 @@
     use debhelper more, and migrate to debhelper 7.
   * New patch 98_installtarget.patch to improve the sysvinit install
     target.
-  * Remove /etc/init.d/.depend.* in prerm, not postrm, to avoid surprises.
+  * Remove /etc/init.d/.depend.* in prerm, not postrm, to avoid
+    surprises.
+  * Remove /var/lib/update-rc.d/* when the package is purged.
 
  -- Petter Reinholdtsen <pere at debian.org>  Sun, 06 Sep 2009 17:13:33 +0200
 

Modified: sysvinit/trunk/debian/sysv-rc.postrm
===================================================================
--- sysvinit/trunk/debian/sysv-rc.postrm	2009-09-09 18:18:37 UTC (rev 1744)
+++ sysvinit/trunk/debian/sysv-rc.postrm	2009-09-09 18:44:47 UTC (rev 1745)
@@ -34,4 +34,7 @@
 
 #DEBHELPER#
 
+# Remove the recorded update-rc.d
+rm -f /var/lib/update-rc.d/*
+
 exit 0

Modified: sysvinit/trunk/debian/sysv-rc.prerm
===================================================================
--- sysvinit/trunk/debian/sysv-rc.prerm	2009-09-09 18:18:37 UTC (rev 1744)
+++ sysvinit/trunk/debian/sysv-rc.prerm	2009-09-09 18:44:47 UTC (rev 1745)
@@ -76,9 +76,6 @@
 	sh /var/lib/update-rc.d/$script > /dev/null
     done
 
-    # Remove the recorded update-rc.d calls we just processed
-    rm -f /var/lib/update-rc.d/*
-
     # Remove files generated by insserv to disable concurrent booting
     rm -f /etc/init.d/.depend.boot
     rm -f /etc/init.d/.depend.start
@@ -86,7 +83,7 @@
 
     return 0
 }
- 
+
 case "$1" in
 	remove)
             # Refuse to be uninstalled unless all the needed




More information about the Pkg-sysvinit-commits mailing list