]> code.citadel.org Git - citadel.git/blobdiff - webcit/debian/webcit.init
* ok, we want the LANG feature. but now we make it dependant on WEBCIT_LANG instead...
[citadel.git] / webcit / debian / webcit.init
index 123d096c025dcb2950e0da4edd4ef9d2ec419625..f867e8ad71828111782c19ddbc6d5ec31aada485 100644 (file)
@@ -24,10 +24,6 @@ DEFAULT=/etc/default/webcit
 LOGDIR=/var/log/webcit/
 
 
-unset LANG
-unset LANGUAGE
-unset LC_ALL
-unset LOCALE
 # Exit if the package is not installed
 [ -x "$DAEMON" ] || exit 0
 
@@ -53,6 +49,12 @@ if test -f $DEFAULT; then
   . $DEFAULT
 fi
 
+unset LANG
+unset LANGUAGE
+unset LC_ALL
+unset LOCALE
+
+
 if test -z "$TZ"; then
        if test -e /etc/timezone; then
                TZ=`cat /etc/timezone`