4
conf="/etc/lurker/lurker.conf.mm"
6
if ! grep -q "list[[:space:]]*=[[:space:]]*$list" /etc/lurker/lurker.conf*; then
7
listhost=`grep "^#[[:space:]]*listhost" $conf | awk -F "=[[:space:]]*" {'print $2'}`
8
listurl=`grep "^#[[:space:]]*listurl" $conf | awk -F "=[[:space:]]*" {'print $2'}`
9
[ -e $listhost ] && listhost="lists.not-configured.yet"
10
[ -e $listurl ] && listurl="http://lists.not-configured.yet/path/to"
11
cat >> /etc/lurker/lurker.conf.mm <<EOF
16
address = $list@$listhost
17
description = $list (no description added yet)
21
echo "Lurker Mailman Wrapper: No possibility to archive this unconfigured list!" && exit 1
26
if [ "$next" == "list" ]; then
28
list=`echo $i | tr "[:upper:]" "[:lower:]"`
30
elif [ "$i" == "-l" ]; then
36
exec /usr/bin/lurker-index -l $list $args