regenerating locale in another way

This commit is contained in:
Benjamin Sonntag 2007-08-26 19:34:17 +00:00
parent 14d088ed31
commit 3695904d0d
1 changed files with 2 additions and 1 deletions

View File

@ -222,7 +222,8 @@ if [ -e /etc/proftpd.conf ] ; then
chmod 640 /etc/proftpd/proftpd.conf
fi
if [ -e /etc/locale.gen ] ; then
if [ -x /usr/sbin/locale-gen ] ; then
touch /etc/locale.gen
LOCALECHANGED=""
# Add de_DE ISO-8859-1, en_US ISO-8859-1, es_ES ISO-8859-1, fr_FR ISO-8859-1 to the locales :
if ! grep -q "^de_DE ISO-8859-1$" /etc/locale.gen ; then