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

Thijs Kinkhorst thijs at costa.debian.org
Sun Oct 15 09:40:56 UTC 2006


Author: thijs
Date: 2006-10-15 09:40:55 +0000 (Sun, 15 Oct 2006)
New Revision: 442

Modified:
   trunk/debian/changelog
   trunk/debian/postinst
Log:
fix buggy regexp in postinst


Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2006-10-15 09:05:56 UTC (rev 441)
+++ trunk/debian/changelog	2006-10-15 09:40:55 UTC (rev 442)
@@ -4,6 +4,7 @@
   * Drop disabled 73_list-id_strict_rfc patch; integrated upstream.
   * Clarify README.Debian about where to insert SpamAssassin integration
     (Closes: #369171).
+  * Fix buggy regexp in postinst.
 
   [ Hector Garcia ]
   * Removed 12_savannah_wrapper.patch Doesn't work and is not supported
@@ -12,7 +13,7 @@
   [ Translations ]
   * Updated French by Florentin Duneau (Closes: #393096).
 
- -- Thijs Kinkhorst <thijs at debian.org>  Sun, 15 Oct 2006 11:02:39 +0200
+ -- Thijs Kinkhorst <thijs at debian.org>  Sun, 15 Oct 2006 11:40:28 +0200
 
 mailman (1:2.1.9-1) unstable; urgency=medium
 

Modified: trunk/debian/postinst
===================================================================
--- trunk/debian/postinst	2006-10-15 09:05:56 UTC (rev 441)
+++ trunk/debian/postinst	2006-10-15 09:40:55 UTC (rev 442)
@@ -187,8 +187,8 @@
 
 	if grep -q mm_defaults /etc/mailman/mm_cfg.py; then
 		echo "Changing mm_defaults to Defaults in mm_cfg.py"
-                echo "Fixing host name in /etc/mm_cfg.py"
-		sed s/mm_defaults/Defaults/ "s/'localhost'/$DOMAIN/g" "s/http://localhost/$DOMAIN/g" </etc/mailman/mm_cfg.py >/etc/mailman/mm_cfg.py.new
+		echo "Fixing host name in /etc/mm_cfg.py"
+		sed s/mm_defaults/Defaults/ "s/'localhost'/$DOMAIN/g" "s#http://localhost#http://$DOMAIN#g" </etc/mailman/mm_cfg.py >/etc/mailman/mm_cfg.py.new
 		mv /etc/mailman/mm_cfg.py /etc/mailman/mm_cfg.py.old
 		mv /etc/mailman/mm_cfg.py.new /etc/mailman/mm_cfg.py
 	fi




More information about the Pkg-mailman-hackers mailing list