#! /bin/bash # if package locales will be installed, then install it early, before # other packages if [ $FAI_ACTION != "install" ]; then exit 0 fi fcopy -Bi /etc/apt/apt.conf.d/force_confdef ainsl -av /etc/ucf.conf "conf_force_conffold=YES" install_packages -l 2>/dev/null | egrep -q ' locales|locales ' if [ $? -eq 0 ]; then $ROOTCMD apt-get -y install locales fi