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