On Don, 2003-09-11 at 11:26, Roland Mas wrote: > Jean-Christophe Dubacq, 2003-09-11 10:50:16 +0200 : > > > As one who submitted several times trivial patches to enable gdm in > > default locale language, I concurr. Right now (for woody and sarge), > > the current way of setting the default locale for all programs is > > sourcing /etc/environment. > > You don't source /etc/environment. You have to parse it. The reason > being, it's not a shell file, just a series of KEY=VALUE lines. In > particular, VALUE can have spaces in it yet not be quoted, and if you > try to source it you're going to have problems.
LANG=`grep ^LANG= /etc/environment | sed -e "s/^LANG=//"` .. would be a simple temproary solution until someone fixes the default-language-problem. ciao, domi. -- Dominik 'Aeneas' Schnitzer <[EMAIL PROTECTED]> http://www.schnitzer.at/dominik/ - Update 03/08/31: Birthday Party PGP Fingerprint: E839 B9EA F518 899D AA35 BB67 0DBF 7AB2 5FE6 525A PGP Public Key: http://schnitzer.at/dominik/public.key

