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

Pino Toscano pino at alioth.debian.org
Fri May 24 15:43:17 UTC 2013


Author: pino
Date: 2013-05-24 15:43:17 +0000 (Fri, 24 May 2013)
New Revision: 19569

Modified:
   kde-extras/icecream/trunk/debian/icecc.postinst
Log:
do not migrate when not upgrading


Modified: kde-extras/icecream/trunk/debian/icecc.postinst
===================================================================
--- kde-extras/icecream/trunk/debian/icecc.postinst	2013-05-24 15:41:45 UTC (rev 19568)
+++ kde-extras/icecream/trunk/debian/icecc.postinst	2013-05-24 15:43:17 UTC (rev 19569)
@@ -34,7 +34,7 @@
 fi
 
 if [ "$1" = "configure" ]; then
-        if dpkg --compare-versions "$2" lt "1.0.0-1~"; then
+        if test -n "$2" && dpkg --compare-versions "$2" lt "1.0.0-1~"; then
                 # unregister the old init script
                 update-rc.d icecc remove >/dev/null
                 if [ -e /etc/defaults/icecc ]; then




More information about the pkg-kde-commits mailing list