ebf7d8ac9ef28831efb4fbda4bd2793ddd884625
3 # if package locales will be installed, then install it early, before
5 if [ $FAI_ACTION != "install" -a $FAI_ACTION != "dirinstall" ]; then
9 fcopy
-Bi /etc
/apt
/apt.conf.d
/force_confdef
10 ainsl
-a /etc
/ucf.conf
"^conf_force_conffold=YES"
12 # in case the locales are already included inside the base file (Ubuntu)
13 if [ -f $target/usr
/sbin
/locale-gen
]; then
14 $ROOTCMD dpkg-reconfigure
-fnoninteractive locales
18 # if we want to install locales, install them now
19 install_packages
-l 2>/dev
/null |
egrep -q ' locales|locales '
21 if [ X
$verbose = X1
]; then
22 $ROOTCMD apt-get
-y install locales
24 $ROOTCMD apt-get
-y install locales
> /dev
/null