remove option to never upgrade ucf files
[automated-distro-installer] / fai / config / hooks / instsoft.DEBIAN
index ebf7d8ac9ef28831efb4fbda4bd2793ddd884625..41191730a3a11a48ad13f07857184ce65dcdc0be 100755 (executable)
@@ -1,5 +1,6 @@
 #! /bin/bash
 
+set -x
 # if package locales will be installed, then install it early, before
 #  other packages
 if [ $FAI_ACTION != "install" -a $FAI_ACTION != "dirinstall" ]; then
@@ -7,13 +8,13 @@ if [ $FAI_ACTION != "install" -a $FAI_ACTION != "dirinstall" ]; then
 fi
 
 fcopy -Bi /etc/apt/apt.conf.d/force_confdef
-ainsl -a  /etc/ucf.conf "^conf_force_conffold=YES"
 
-# in case the locales are already included inside the base file (Ubuntu)
-if [ -f $target/usr/sbin/locale-gen ]; then
-    $ROOTCMD dpkg-reconfigure -fnoninteractive locales
-    exit
-fi
+# ian: on flidas this gives an error: update-locale: Error: invalid locale settings:  LANG=en_US.UTF-8
+# # in case the locales are already included inside the base file (Ubuntu)
+# if [ -f $target/usr/sbin/locale-gen ]; then
+#     $ROOTCMD dpkg-reconfigure -fnoninteractive locales
+#     exit
+# fi
 
 # if we want to install locales, install them now
 install_packages -l 2>/dev/null | egrep  -q  ' locales|locales '