Am Mi, 22. Sep 2004, 21:49:30 +0100 schrieb Colin Watson: > debconf/frontend doesn't have a default, so I'd be inclined to just > debconf-get it and see if it's non-empty. Testing the 'seen' flag seems > a bit weird since it hasn't in fact been shown to the user. Ok, here is a patch doing just that. Jö. -- Software is like sex; it's better when it's free. -- Linus Torvalds
Index: packages/rootskel/src/lib/debian-installer.d/S60frontend
===================================================================
--- packages/rootskel/src/lib/debian-installer.d/S60frontend	(revision 21958)
+++ packages/rootskel/src/lib/debian-installer.d/S60frontend	(working copy)
@@ -1,9 +1,8 @@
-if [ -z "$DEBIAN_FRONTEND" ] ; then
+if [ -z "`debconf-get debconf/frontend`" ] ; then
     for frontend in gtk newt slang text ; do
         if [ -e "/usr/lib/cdebconf/frontend/$frontend.so" ] ; then
-            DEBIAN_FRONTEND=$frontend
+            debconf-set debconf/frontend "frontend"
             break
         fi
     done
 fi
-export DEBIAN_FRONTEND
Attachment:
signature.asc
Description: Digital signature