rev 19567 - kde-extras/icecream/trunk/debian

Pino Toscano pino at alioth.debian.org
Fri May 24 15:29:34 UTC 2013


Author: pino
Date: 2013-05-24 15:29:34 +0000 (Fri, 24 May 2013)
New Revision: 19567

Modified:
   kde-extras/icecream/trunk/debian/icecc.postinst
Log:
fixes


Modified: kde-extras/icecream/trunk/debian/icecc.postinst
===================================================================
--- kde-extras/icecream/trunk/debian/icecc.postinst	2013-05-24 15:18:44 UTC (rev 19566)
+++ kde-extras/icecream/trunk/debian/icecc.postinst	2013-05-24 15:29:34 UTC (rev 19567)
@@ -29,12 +29,12 @@
         # disable icecc-scheduler either when upgrading from < 1.0.0, or when
         # doing a new installation
         if test -z "$2" || dpkg --compare-versions "$2" lt "1.0.0-1~"; then
-                update-rc.d icecc-scheduler disable || exit $?
+                update-rc.d icecc-scheduler disable >/dev/null || exit $?
         fi
 fi
 
-if [ "$1" = "upgrade" ]; then
-        if dpkg --compare-versions "$2" le "1.0.0-1~"; then
+if [ "$1" = "configure" ]; then
+        if dpkg --compare-versions "$2" lt "1.0.0-1~"; then
                 # unregister the old init script
                 update-rc.d icecc remove >/dev/null
                 # move away the old /etc/defaults/icecc; since the old version




More information about the pkg-kde-commits mailing list