From c09162e5a3258c2bf72e292e156c8e44e1527389 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Thu, 11 Nov 2010 10:32:05 +0100 Subject: Fix make senders an unconditional 4th argument to mklist(). --- mailman/mklist.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mailman') 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" } -- cgit v1.2.3