# set default to 'en' in live-cd mode if $LANGUAGE is not yet set:
if [ -z "$INSTALLED" ] ; then
- [ -n "$LANGUAGE" ] || LANGUAGE='en-utf8'
+ [ -n "$LANGUAGE" ] || LANGUAGE='us'
fi
# if bootoption lang is used update /etc/default/locale, otherwise *not*!
- if [ -n "$BOOT_LANGUAGE" ] ; then
- [ -x /usr/sbin/grml-setlang ] && /usr/sbin/grml-setlang "$LANGUAGE"
+ if [ -n "$BOOT_LANGUAGE" -a -x /usr/sbin/grml-setlang ] ; then
+ if checkgrmlsmall ; then
+ /usr/sbin/grml-setlang "POSIX"
+ else
+ /usr/sbin/grml-setlang "$LANGUAGE"
+ fi
fi
# set console font
+grml-autoconfig (0.8.15) unstable; urgency=low
+
+ * Use us instead of en-utf8 as default locale (this is what we
+ are using as bootparam by default as well).
+ * Support C/POSIX locales within language setup.
+ * Use POSIX locales on grml-small.
+
+ -- Michael Prokop <mika@grml.org> Mon, 03 Nov 2008 01:26:49 +0100
+
grml-autoconfig (0.8.14) unstable; urgency=low
* Rework config_swspeak once more, move most parts of the logic