}
# }}}
+# set default locales {{{
+default_locales() {
+ if [ -n "$DEFAULT_LOCALES" ] ; then
+ update-locale LANG="$DEFAULT_LOCALES"
+ fi
+}
+# }}}
+
# adjust timezone {{{
timezone() {
if [ -n "$TIMEZONE" ] ; then
for i in chrootmirror grmlrepos backportrepos kernelimg_conf \
kernel packages extrapackages reconfigure hosts interfaces \
- timezone fstab hostname initrd grub_install passwords \
+ default_locales timezone fstab hostname initrd grub_install passwords \
custom_scripts upgrade_system remove_apt_cache services \
remove_chrootmirror; do
if stage $i ; then