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

Thijs Kinkhorst thijs at costa.debian.org
Mon Oct 16 13:48:45 UTC 2006


Author: thijs
Date: 2006-10-16 13:48:44 +0000 (Mon, 16 Oct 2006)
New Revision: 444

Modified:
   trunk/debian/changelog
   trunk/debian/postinst
Log:
Some upgrades had errors due to the changed contents of the
default_server_language debconf variable since we added language
names. I've now added the same sed call as with site_languages.
Set urgency of next upload to medium because of this.


Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2006-10-16 10:35:20 UTC (rev 443)
+++ trunk/debian/changelog	2006-10-16 13:48:44 UTC (rev 444)
@@ -1,20 +1,21 @@
-mailman (1:2.1.9-2) UNRELEASED; urgency=low
+mailman (1:2.1.9-2) UNRELEASED; urgency=medium
 
   [ Thijs Kinkhorst ]
+  * Medium urgency upload for important upgrading bug.
+  * Fix buggy sedding in postinst (Closes: #392995).
   * 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
+  * Removed 12_savannah_wrapper.patch. Doesn't work and is not supported
     upstream any longer (Closes: #287554).
 
   [ Translations ]
   * Updated French by Florentin Duneau (Closes: #393096).
   * Updated Brazilian Portuguese by Felipe Augusto van de Wiel.
 
- -- Thijs Kinkhorst <thijs at debian.org>  Mon, 16 Oct 2006 12:34:33 +0200
+ -- Thijs Kinkhorst <thijs at debian.org>  Mon, 16 Oct 2006 15:44:44 +0200
 
 mailman (1:2.1.9-1) unstable; urgency=medium
 

Modified: trunk/debian/postinst
===================================================================
--- trunk/debian/postinst	2006-10-16 10:35:20 UTC (rev 443)
+++ trunk/debian/postinst	2006-10-16 13:48:44 UTC (rev 444)
@@ -161,7 +161,7 @@
     if [ -e /etc/mailman/mm_cfg.py ]; then
         db_get mailman/default_server_language || true
         if [ -n "$RET" ]; then
-            default_server_language=${RET}
+            default_server_language="$(echo $RET | sed -r 's/ \([^\)]*\)//g')"
             sed -e s/DEFAULT_SERVER_LANGUAGE.*=.*\'..\'/DEFAULT_SERVER_LANGUAGE\ =\ \'${default_server_language}\'/ ${mm_etc}/mm_cfg.py > ${mm_etc}/mm_cfg.py.$$
             mv -f ${mm_etc}/mm_cfg.py.$$ ${mm_etc}/mm_cfg.py
         fi




More information about the Pkg-mailman-hackers mailing list