[Pkg-cups-devel] r41 - cupsys/branches/cups-1.2/debian
Martin Pitt
mpitt at costa.debian.org
Wed Dec 7 12:53:44 UTC 2005
Author: mpitt
Date: Wed Dec 7 12:53:36 2005
New Revision: 41
Modified:
cupsys/branches/cups-1.2/debian/changelog
cupsys/branches/cups-1.2/debian/cupsys.postinst
Log:
debian/cupsys.postinst: Wait a second between kill -9'ing cupsys and checking
if the process still exists to avoid false positives and upgrade failures.
Modified: cupsys/branches/cups-1.2/debian/changelog
==============================================================================
--- cupsys/branches/cups-1.2/debian/changelog (original)
+++ cupsys/branches/cups-1.2/debian/changelog Wed Dec 7 12:53:36 2005
@@ -7,8 +7,11 @@
invalid bool option, change to true.
* debian/cupsys.init.d: Use LSB init functions. Add lsb-base package
dependency.
+ * debian/cupsys.postinst: Wait a second between kill -9'ing cupsys and
+ checking if the process still exists to avoid false positives and upgrade
+ failures.
- -- Martin Pitt <mpitt at debian.org> Wed, 7 Dec 2005 13:50:53 +0100
+ -- Martin Pitt <mpitt at debian.org> Wed, 7 Dec 2005 13:52:42 +0100
cupsys (1.1.99.b1.r4841-1) experimental; urgency=low
Modified: cupsys/branches/cups-1.2/debian/cupsys.postinst
==============================================================================
--- cupsys/branches/cups-1.2/debian/cupsys.postinst (original)
+++ cupsys/branches/cups-1.2/debian/cupsys.postinst Wed Dec 7 12:53:36 2005
@@ -43,6 +43,7 @@
if [ -n "`pidof /usr/sbin/cupsd`" ]; then
echo "Killing cupsys..."
kill -9 `pidof /usr/sbin/cupsd` || true
+ sleep 1
fi
fi
if [ -n "`ps aux | grep /usr/sbin/cupsd | grep -v grep`" ]; then
More information about the Pkg-cups-devel
mailing list