From dec524e14a35b6cbd683d4ad4f3e808dd2c1c9a5 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sat, 28 Jun 2003 09:53:50 +0000 Subject: New script added to reset all URLs the the default ones. --- mailman/reset-all-url.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 mailman/reset-all-url.sh diff --git a/mailman/reset-all-url.sh b/mailman/reset-all-url.sh new file mode 100755 index 0000000..a2a8d7e --- /dev/null +++ b/mailman/reset-all-url.sh @@ -0,0 +1,17 @@ +#!/bin/sh +# +# /etc/mailman/reset-all-url.sh +# Copyright 2003 Jonas Smedegaard +# +# $Id: reset-all-url.sh,v 1.1 2003-06-28 09:53:50 jonas Exp $ +# +# Reset URL for all local mailman mailinglists to the default ones +# + +if [ -x /usr/lib/mailman/bin/list_lists -a -x /usr/lib/mailman/bin/config_list ]; then + for list in `/usr/lib/mailman/bin/list_lists --bare`; do + /usr/lib/mailman/bin/withlist -l -r fix_url $list + done +else + echo "This script requires Mailman 2.1" +fi -- cgit v1.2.3