f036e2adc761e057d978a9719937a65c71f05fb9
[automated-distro-installer] / fai / config / hooks / instsoft.DEBIAN
1 #! /bin/bash
2
3 # if package locales will be installed, then install it early, before
4 # other packages
5
6 if [ $FAI_ACTION != "install" ]; then
7 exit 0
8 fi
9
10 fcopy -Bi /etc/apt/apt.conf.d/force_confdef
11 ainsl -av /etc/ucf.conf "conf_force_conffold=YES"
12
13 install_packages -l 2>/dev/null | egrep -q ' locales|locales '
14 if [ $? -eq 0 ]; then
15 $ROOTCMD apt-get -y install locales
16 fi