diff options
author | Jonas Smedegaard <dr@jones.dk> | 2010-11-02 00:23:28 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2010-11-02 00:23:28 +0100 |
commit | 58732a1f6e5ce0650f2c86c8807ed11d8276a4c6 (patch) | |
tree | 021c543b6faad050f37415f7bb38b35cde27578e | |
parent | 8c689b010d73eca4323b59b4243b29581846e062 (diff) |
Fix use variable LISTLANG internally (not overloading LANG).
-rw-r--r-- | mailman/mklist.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mailman/mklist.inc b/mailman/mklist.inc index 3d25d49..d3bd5c9 100644 --- a/mailman/mklist.inc +++ b/mailman/mklist.inc @@ -9,7 +9,7 @@ skeldir="$sharedir/skel" MAILDOMAIN="${maildomain:-`head -n 1 /etc/mailname`}" LISTDOMAIN="${listdomain:-lists.$MAILDOMAIN}" OWNER="${owner:-listmaster@$MAILDOMAIN}" -LANG="${lang:-en}" +LISTLANG="${lang:-en}" refreshlists() { existinglists="`/usr/sbin/list_lists -b`" @@ -19,7 +19,7 @@ mklist() { list="$1"; shift type="$1"; shift desc="$1"; shift - lang="${1:-$LANG}" + lang="${1:-$LISTLANG}" owner="${2:-$OWNER}" if ! echo "$existinglists" | grep -q "^$list\$"; then |