[Pkg-sysvinit-commits] r1776 - sysvinit/trunk/debian
Petter Reinholdtsen
pere at alioth.debian.org
Sun Sep 13 08:37:22 UTC 2009
Author: pere
Date: 2009-09-13 08:37:21 +0000 (Sun, 13 Sep 2009)
New Revision: 1776
Modified:
sysvinit/trunk/debian/changelog
sysvinit/trunk/debian/sysv-rc.postinst
Log:
Correct code in sysv-rc postinst to avoid failing to install when no
init.d scripts have been removed (Closes: #546405).
Modified: sysvinit/trunk/debian/changelog
===================================================================
--- sysvinit/trunk/debian/changelog 2009-09-12 22:12:43 UTC (rev 1775)
+++ sysvinit/trunk/debian/changelog 2009-09-13 08:37:21 UTC (rev 1776)
@@ -1,3 +1,10 @@
+sysvinit (2.87dsf-5.1) UNRELEASED; urgency=low
+
+ * Correct code in sysv-rc postinst to avoid failing to install when no
+ init.d scripts have been removed (Closes: #546405).
+
+ -- Petter Reinholdtsen <pere at debian.org> Sun, 13 Sep 2009 10:34:32 +0200
+
sysvinit (2.87dsf-5) experimental; urgency=low
* Uploading to experimental, to test the new build rules.
Modified: sysvinit/trunk/debian/sysv-rc.postinst
===================================================================
--- sysvinit/trunk/debian/sysv-rc.postinst 2009-09-12 22:12:43 UTC (rev 1775)
+++ sysvinit/trunk/debian/sysv-rc.postinst 2009-09-13 08:37:21 UTC (rev 1776)
@@ -182,7 +182,7 @@
fi
fi
if dpkg --compare-versions "$2" lt 2.87dsf-5 ; then
- removedfiles=$(grep -l 'remove$' /var/lib/update-rc.d/*)
+ removedfiles=$(grep -l 'remove$' /var/lib/update-rc.d/* || true)
if [ "$removedfiles" ] ; then
rm $removedfiles
fi
More information about the Pkg-sysvinit-commits
mailing list