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

Petter Reinholdtsen pere at alioth.debian.org
Mon Aug 31 19:15:55 UTC 2009


Author: pere
Date: 2009-08-31 19:15:55 +0000 (Mon, 31 Aug 2009)
New Revision: 1679

Modified:
   sysvinit/trunk/debian/sysv-rc.postinst
Log:
Improve error message and make sure the temp file /var/run/sysv-rc.upgrade is removed when the upgrade is over.

Modified: sysvinit/trunk/debian/sysv-rc.postinst
===================================================================
--- sysvinit/trunk/debian/sysv-rc.postinst	2009-08-31 19:08:11 UTC (rev 1678)
+++ sysvinit/trunk/debian/sysv-rc.postinst	2009-08-31 19:15:55 UTC (rev 1679)
@@ -67,7 +67,7 @@
             for initscript in $obsolete_initscripts; do
                 if [ -e "$initscript" ]; then
                     retval=0
-                    add_problematic "package $package (obsolete init.d script)"
+                    add_problematic "package $package (obsolete init.d script left behind)"
                 fi
             done
         fi
@@ -177,6 +177,7 @@
 		    touch $flagfile
 		fi
 	    fi
+	    rm /var/run/sysv-rc.upgrade
 	fi
 	if [ -f $flagfile ] ; then
 	    # Still using legacy ordering, try to convert




More information about the Pkg-sysvinit-commits mailing list