[Pkg-uml-commit] r190 - trunk/src/rootstrap/modules

Mattia Dongili malattia at costa.debian.org
Thu Aug 31 21:35:44 UTC 2006


Author: malattia
Date: 2006-08-31 21:35:43 +0000 (Thu, 31 Aug 2006)
New Revision: 190

Modified:
   trunk/src/rootstrap/modules/base-config
Log:
still set the password if debconf-set-selections does not work

Modified: trunk/src/rootstrap/modules/base-config
===================================================================
--- trunk/src/rootstrap/modules/base-config	2006-08-31 21:34:36 UTC (rev 189)
+++ trunk/src/rootstrap/modules/base-config	2006-08-31 21:35:43 UTC (rev 190)
@@ -3,11 +3,6 @@
 DEBIAN_FRONTEND=noninteractive
 export DEBIAN_FRONTEND
 
-if ! test -x $TARGET/usr/bin/debconf-set-selections; then
-    echo "debconf is too old for us to seed the database; not running base-config"
-    exit 0
-fi
-
 # set root password - We can't do this through base-config because the
 # passwd .config script clears the database before asking for the
 # password
@@ -25,6 +20,11 @@
 EDITOR=touch
 export EDITOR
 
+if ! test -x $TARGET/usr/bin/debconf-set-selections; then
+    echo "debconf is too old for us to seed the database; not running base-config"
+    exit 0
+fi
+
 # avoid base-config if it's missing, which happens to
 # be te case for older-than-sarge debian
 # The module name is misleading 




More information about the Pkg-uml-commit mailing list