remove auto_locale from setup, not working anymore

This commit is contained in:
Tobias Powalowski 2012-06-01 16:43:09 +02:00
parent 01a91d1d7f
commit 8e84c8a47b

View file

@ -3073,7 +3073,6 @@ install_packages() {
auto_fstab
auto_mdadm
auto_luks
auto_locale
# tear down the chroot environment
chroot_umount
}
@ -3110,17 +3109,6 @@ auto_fstab(){
fi
}
# auto_locale()
# enable glibc locales from rc.conf and build initial locale DB
auto_locale()
{
for i in $(grep "^LOCALE" ${DESTDIR}/etc/rc.conf | sed -e 's/.*="//g' -e's/\..*//g'); do
sed -i -e "s/^#${i}/${i}/g" ${DESTDIR}/etc/locale.gen
done
DIALOG --infobox "Generating glibc base locales..." 4 40
chroot ${DESTDIR} locale-gen >/dev/null 2>&1
}
# auto_mdadm()
# add mdadm setup to existing /etc/mdadm.conf
auto_mdadm()