[Pkg-sysvinit-commits] r1028 - sysvinit/trunk/debian/sysv-rc

Petter Reinholdtsen pere at alioth.debian.org
Sun Oct 29 17:43:35 CET 2006


Author: pere
Date: 2006-10-29 17:43:35 +0100 (Sun, 29 Oct 2006)
New Revision: 1028

Removed:
   sysvinit/trunk/debian/sysv-rc/postinst
Log:
Remove upgrade warning from postinst too.

Deleted: sysvinit/trunk/debian/sysv-rc/postinst
===================================================================
--- sysvinit/trunk/debian/sysv-rc/postinst	2006-10-29 07:23:27 UTC (rev 1027)
+++ sysvinit/trunk/debian/sysv-rc/postinst	2006-10-29 16:43:35 UTC (rev 1028)
@@ -1,46 +0,0 @@
-#! /bin/sh
-#
-# sysv-rc postinst
-#
-
-report_upgrade_problem() {
-
-    # Not using debconf as it would introduce a new dependency.
-    echo
-    echo "WARNING:"
-    echo "WARNING: You are upgrading from version $oldver of sysv-rc, which"
-    echo "WARNING: broke upgrades of other packages with init.d scripts."
-    echo "WARNING: Please read /usr/share/doc/sysvinit/NEWS.Debian.gz for"
-    echo "WARNING: instructions on how to recover."
-    echo "WARNING:"
-    echo
-
-    # Not using 'read' to avoid breaking non-interactive
-    # installations.
-    echo "Will continue in 10 seconds"
-    sleep 10
-}
-
-case "$1" in
-  configure)
-	oldver=$2
-        #
-        # In 2.86.ds1-16 (2006-09-06), a broken version of update-rc.d
-        # was uploaded.  It broke the upgrades of other packages.  The
-        # problem was fixed in version 2.86.ds1-18.  Warn the user and
-        # let him know how to recover from the problem.
-        #
-	if dpkg --compare-versions "$oldver" ge "2.86.ds1-16" &&
-	   dpkg --compare-versions "$oldver" lt "2.86.ds1-18"
-	then
-		report_upgrade_problem "$oldver"
-	fi
-	;;
-  abort-upgrade|abort-remove|abort-deconfigure)
-	exit 0
-	;;
-esac
-
-umask 022
-
-exit 0




More information about the Pkg-sysvinit-commits mailing list