X-Git-Url: http://git.grml.org/?a=blobdiff_plain;ds=sidebyside;f=autoconfig.functions;h=921be17b27b9faa83ad35510348e5457cae13cbc;hb=025b317e1bc0d351d592482de5ac9824d5f1a767;hp=008416182883abda98ee30f6b74a0d5b59afc08e;hpb=820380832f6d21a9f7c227455df60e07410d3c23;p=grml-autoconfig.git diff --git a/autoconfig.functions b/autoconfig.functions index 0084161..921be17 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -204,12 +204,16 @@ config_language(){ # 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