Do not execute unicode_start on grml-small in live-mode.
[grml-autoconfig.git] / autoconfig.functions
index 4b603a5..44034e7 100755 (executable)
@@ -4,7 +4,7 @@
 # Authors:       grml-team (grml.org), (c) Klaus Knopper <knopper@knopper.net>, (c) Michael Prokop <mika@grml.org>
 # Bug-Reports:   see http://grml.org/bugs/
 # License:       This file is licensed under the GPL v2.
-# Latest change: Die Apr 03 17:02:59 CEST 2007 [mika]
+# Latest change: Fre Apr 13 12:49:52 CEST 2007 [mika]
 ################################################################################
 
 # {{{ path, variables, signals, umask, zsh
@@ -273,9 +273,12 @@ config_language(){
  # activate unicode console if running within utf8 environment
  if [ -r /etc/default/locale ] ; then
     if grep -q "LANG=.*UTF" /etc/default/locale ; then
-       einfo "Setting up unicode environment."
-       unicode_start
-       eend $?
+       if checkgrmlsmall && [ -z "$INSTALLED" ] ; then
+         ewarn "Not runnning unicode_start: grml-small with reduced language support detected." ; eend 0
+       else
+          einfo "Setting up unicode environment."
+          unicode_start ; eend $?
+       fi
     fi
  fi