[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#127413: base-config: 101 instances of Setting locale failed message during install



>I can't be sure, but I suspect that the language chooser is responsible
>for this bogosity of LANGUAGE in /root/debootstrap_settings, and it is being
>propigated into base-config's environment. This is borne out by:
>
>./utilities/dbootstrap/langs/english.src:            <name>English (QWERTY/US)
></name>

Yeah, it's pretty bogus.  I think something like this will fix it.

p.

Index: util.c
===================================================================
RCS file: /cvs/debian-boot/boot-floppies/utilities/dbootstrap/util.c,v
retrieving revision 1.63
diff -u -r1.63 util.c
--- util.c	2001/12/20 07:36:17	1.63
+++ util.c	2002/01/03 13:37:11
@@ -673,7 +673,7 @@
 
 #ifdef USE_LANGUAGE_CHOOSER
   if ( lang != NULL )
-    write_userconfig("LANGUAGE", lang->name);
+    write_userconfig("LANG", lang->locale);
 #endif
 
 #if #cpu(powerpc)




Reply to: