2 # Filename: /etc/grml/fai/config/scripts/GRMLBASE/25-locales
3 # Purpose: locales (language) configuration of the live system
4 # Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
5 # Bug-Reports: see http://grml.org/bugs/
6 # License: This file is licensed under the GPL v2 or any later version.
7 # Latest change: Sat Nov 03 12:01:12 CET 2007 [mika]
8 ################################################################################
12 if [ -x $target/usr/sbin/localepurge ] ; then
13 $ROOTCMD dpkg-reconfigure localepurge
16 # use full locales setup only in classes GRML_FULL and LOCALES
17 if ifclass GRML_FULL || ifclass LOCALES ; then
18 echo 'Using /etc/locale.gen.grml for locales generation'
19 cp $target/etc/locale.gen.grml $target/etc/locale.gen
21 echo 'Using /etc/locale.gen.minimal for locales generation'
22 cp $target/etc/locale.gen.minimal $target/etc/locale.gen
25 if [ -x $target/usr/sbin/locale-gen ] ; then
28 echo 'Warning: locale-gen [package locales] not available'
31 if [ -x $target/usr/sbin/localepurge ] ; then
35 ## END OF FILE #################################################################
36 # vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=3