[Pkg-sysvinit-commits] r1613 - sysvinit/trunk/debian
Petter Reinholdtsen
pere at alioth.debian.org
Mon Aug 17 14:25:24 UTC 2009
Author: pere
Date: 2009-08-17 14:25:24 +0000 (Mon, 17 Aug 2009)
New Revision: 1613
Modified:
sysvinit/trunk/debian/sysv-rc.postinst
Log:
Use higher priority on debconf question during upgrades than first time installation.
Modified: sysvinit/trunk/debian/sysv-rc.postinst
===================================================================
--- sysvinit/trunk/debian/sysv-rc.postinst 2009-08-17 14:24:32 UTC (rev 1612)
+++ sysvinit/trunk/debian/sysv-rc.postinst 2009-08-17 14:25:24 UTC (rev 1613)
@@ -109,7 +109,17 @@
# Ask if the legacy boot sequence should be converted to
# dependency based, making 'yes' the default.
db_set sysv-rc/convert-legacy true
- db_input high sysv-rc/convert-legacy || [ $? -eq 30 ]
+
+ # Priority is high during upgrades but medium during first
+ # time installation and reconfiguration, to give those with
+ # existing installations higher chance of seeing and rejecting
+ # the migration.
+ if [ -z "$lastver" ] ; then
+ pri=medium
+ else
+ pri=high
+ fi
+ db_input $pri sysv-rc/convert-legacy || [ $? -eq 30 ]
db_go || true
db_get sysv-rc/convert-legacy || true
if [ true = "$RET" ] ; then
More information about the Pkg-sysvinit-commits
mailing list