From 3695904d0dc0635000ba5e94307b891aaad2035b Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Sun, 26 Aug 2007 19:34:17 +0000 Subject: [PATCH] regenerating locale in another way --- install/alternc.install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install/alternc.install b/install/alternc.install index 902cd760..0eb8c6b4 100644 --- a/install/alternc.install +++ b/install/alternc.install @@ -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