Jonas,

Francois has a list called 'detente' and before I really looked closely at the script I threw that in there.

In Francois' case and mine, the script would work better if we removed the `do' loop as we are only trying to update one list, not the entire group of lists in ~/lists/

So the script should be modified to read:

---snip---


#!/bin/sh
newroot='/var/mailman'


list='detente'
python -i $newroot/bin/withlist -l $list <<EOF
m.private_archive_file_dir
m.private_archive_file_dir='$newroot/archives/private/$list.mbox'
m.public_archive_file_dir
m.public_archive_file_dir='$newroot/archives/public'
m.archive_directory
m.archive_directory='$newroot/archives/private/$list'
m.Save()
EOF


---snip---

On Thu, Apr 11, 2002 at 10:24:41AM -0700, Anna Fong wrote:
> #!/bin/sh
>
> newroot='/var/mailman'
>
> for list in `ls $newroot/lists/detente`

What does this line do? I don't understand it, and also I have no
lists/detente.

Bye
Jonas

--------------------------------------------------------

Anna Q. Fong, Webmaster
California Data Exchange Center



------------------------------------------------------ Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py

Reply via email to