diff options
author | Jonas Smedegaard <dr@jones.dk> | 2011-10-07 11:37:12 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2011-10-07 11:37:12 +0200 |
commit | 303167178a2d1135a111a6d04168ad308643a16d (patch) | |
tree | ec6fe9bd2f8f29155054ebdb155f45da02b4a519 | |
parent | 0bc25ecea9a81ee80aabeb55e47043b1ab9a44c2 (diff) |
Use emailhost as default urlhost.
-rw-r--r-- | mailman/mklist.inc | 2 |
1 files changed, 1 insertions, 1 deletions
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`" |