[Pkg-mailman-hackers] Pkg-mailman commit - rev 565 - trunk/debian

Thijs Kinkhorst thijs at alioth.debian.org
Fri Nov 7 08:50:15 UTC 2008


Author: thijs
Date: 2008-11-07 08:50:15 +0000 (Fri, 07 Nov 2008)
New Revision: 565

Modified:
   trunk/debian/changelog
   trunk/debian/mailman.init
Log:
Detect a nonstandard site list name, thanks Moritz Naumann
(closes: #418062).

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2008-11-07 08:45:04 UTC (rev 564)
+++ trunk/debian/changelog	2008-11-07 08:50:15 UTC (rev 565)
@@ -8,8 +8,10 @@
   * Add mischief to logrotate configuration (closes: #504700).
   * Update Mailman group and aliases path in README.Exim4.Debian,
     thanks Kris Popendorf (closes: #504695).
+  * Detect a nonstandard site list name, thanks Moritz Naumann
+    (closes: #418062).
 
- -- Thijs Kinkhorst <thijs at debian.org>  Fri, 07 Nov 2008 09:44:27 +0100
+ -- Thijs Kinkhorst <thijs at debian.org>  Fri, 07 Nov 2008 09:48:10 +0100
 
 mailman (1:2.1.11-3) unstable; urgency=low
 

Modified: trunk/debian/mailman.init
===================================================================
--- trunk/debian/mailman.init	2008-11-07 08:45:04 UTC (rev 564)
+++ trunk/debian/mailman.init	2008-11-07 08:50:15 UTC (rev 565)
@@ -46,7 +46,8 @@
 
 case "$1" in
   start)
-    if [ "$(/var/lib/mailman/bin/list_lists -b | grep ^mailman$ )" = "" ]; then
+    SITE_LIST=$( grep '^MAILMAN_SITE_LIST' /etc/mailman/mm_cfg.py | cut -d"'" -f 2 )
+    if [ "$(/var/lib/mailman/bin/list_lists -b | grep ^${SITE_LIST}$ )" = "" ]; then
         log_warning_msg "Site list for mailman (usually named mailman) missing."
         log_warning_msg "Please create it; until then, mailman will refuse to start."
         exit 0;




More information about the Pkg-mailman-hackers mailing list