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

[PATCH] set LANGUAGE variable in live-config



There are still programs that evaluate the LANGUAGE variable for their
locale settings. Therefore live-config must also add it to
etc/default/locale. The attached patch fixes this issue.

Ronny
-- 
erreichbar von Mo-Fr, Büro B.105
------------------------------------------------------------------------
Fachhochschule Nordwestschweiz
Pädagogische Hochschule
Institut Weiterbildung und Beratung

Dr. Ronny Standtke
Dozent für Medienpädagogik
Obere Sternengasse 7
4502 Solothurn
------------------------------------------------------------------------
T +41 32 628 67 08
M +41 79 786 81 82
F +41 32 627 28 64
ronny.standtke@fhnw.ch <mailto:ronny.standtke@fhnw.ch>
http://www.imedias.ch
diff --git a/scripts/config/0050-locales b/scripts/config/0050-locales
index d13aca6..c27fc4f 100755
--- a/scripts/config/0050-locales
+++ b/scripts/config/0050-locales
@@ -46,6 +46,7 @@ Configure_locales ()
 	fi
 
 	echo "LANG=${_LOCALE}" > /etc/default/locale
+	echo "LANGUAGE=${_LOCALE}" >> /etc/default/locale
 
 	if [ -e /etc/locale.gen ]
 	then

Reply to: