From 303167178a2d1135a111a6d04168ad308643a16d Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Fri, 7 Oct 2011 11:37:12 +0200 Subject: Use emailhost as default urlhost. --- mailman/mklist.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mailman') diff --git a/mailman/mklist.inc b/mailman/mklist.inc index f4dba3c..47ee3b6 100644 --- a/mailman/mklist.inc +++ b/mailman/mklist.inc @@ -24,7 +24,7 @@ mklist() { lang="${1:-$LISTLANG}" owner="${2:-$OWNER}" emailhost="${3:-$LISTDOMAIN}" - urlhost="${4:-$LISTWEBDOMAIN}" + urlhost="${4:-${LISTWEBDOMAIN:-$emailhost}}" if ! echo "$existinglists" | grep -q "^$list\$"; then newlist -l "$lang"${urlhost:+ -u "$urlhost"}${emailhost:+ -e "$emailhost"} -q "$list" "$owner" "`gpw | head -n 1`" -- cgit v1.2.3