summaryrefslogtreecommitdiff
path: root/mailman
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2010-11-11 10:32:05 +0100
committerJonas Smedegaard <dr@jones.dk>2010-11-11 10:32:05 +0100
commitc09162e5a3258c2bf72e292e156c8e44e1527389 (patch)
treee3c29ffbf30a3e493405a7317f99f40dc5021199 /mailman
parentc658a078c326fc77a982591c915b815cbdcc7aa5 (diff)
Fix make senders an unconditional 4th argument to mklist().
Diffstat (limited to 'mailman')
-rw-r--r--mailman/mklist.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/mailman/mklist.inc b/mailman/mklist.inc
index 3219f66..f4dba3c 100644
--- a/mailman/mklist.inc
+++ b/mailman/mklist.inc
@@ -20,6 +20,7 @@ mklist() {
list="$1"; shift
type="$1"; shift
desc="$1"; shift
+ senders="$1"; shift
lang="${1:-$LISTLANG}"
owner="${2:-$OWNER}"
emailhost="${3:-$LISTDOMAIN}"
@@ -28,7 +29,7 @@ mklist() {
if ! echo "$existinglists" | grep -q "^$list\$"; then
newlist -l "$lang"${urlhost:+ -u "$urlhost"}${emailhost:+ -e "$emailhost"} -q "$list" "$owner" "`gpw | head -n 1`"
fi
- LISTNAME="$list" LISTDESC="$desc" LISTOWNER="$owner" LISTHOST="$emailhost" "$sharedir/mklist.pl" "$skeldir/$type.$lang.py" > "$list.py"
+ LISTNAME="$list" LISTDESC="$desc" SENDERS="$senders" LISTOWNER="$owner" LISTHOST="$emailhost" "$sharedir/mklist.pl" "$skeldir/$type.$lang.py" > "$list.py"
config_list -i "$cfgdir/$list.py" "$list"
config_list -o "$cfgdir/$list.py" "$list"
}