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

Lionel Elie Mamane lmamane-guest at costa.debian.org
Sun Nov 20 16:11:26 UTC 2005


Author: lmamane-guest
Date: 2005-11-20 16:11:26 +0000 (Sun, 20 Nov 2005)
New Revision: 234

Modified:
   trunk/debian/changelog
   trunk/debian/postinst
Log:
Work around ucf bug #238730 for postfix-to-mailman.py, too.

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2005-11-20 16:06:48 UTC (rev 233)
+++ trunk/debian/changelog	2005-11-20 16:11:26 UTC (rev 234)
@@ -17,8 +17,9 @@
     - Don't touch files of other packages that happen to have
       our file's full path as subpath.
     - Accept any number of spaces between the hash and the filename there.
+  * Work around ucf bug #238730 for postfix-to-mailman.py, too.
 
- -- Lionel Elie Mamane <lmamane at debian.org>  Sun, 20 Nov 2005 17:06:21 +0100
+ -- Lionel Elie Mamane <lmamane at debian.org>  Sun, 20 Nov 2005 17:10:44 +0100
 
 mailman (2.1.5-9) unstable; urgency=medium
 

Modified: trunk/debian/postinst
===================================================================
--- trunk/debian/postinst	2005-11-20 16:06:48 UTC (rev 233)
+++ trunk/debian/postinst	2005-11-20 16:11:26 UTC (rev 234)
@@ -139,8 +139,10 @@
     # Install postfix-to-mailman.py as well
     ucf --debconf-ok --three-way ${mm_dist}/postfix-to-mailman.py ${mm_etc}/postfix-to-mailman.py 2>/dev/null
     # Upon install ucf leaves a duplicate in .dpkg-dist (Bug #238730), remove it
-    cmp -s ${mm_etc}/qmail-to-mailman.py ${mm_etc}/qmail-to-mailman.py.dpkg-dist \
-      && rm ${mm_etc}/qmail-to-mailman.py.dpkg-dist
+    for file in qmail-to-mailman.py postfix-to-mailman.py; do
+      cmp -s ${mm_etc}/${file} ${mm_etc}/${file}.dpkg-dist \
+        && rm ${mm_etc}/${file}.dpkg-dist
+    done
 
     # Configure Mailman crontab
 




More information about the Pkg-mailman-hackers mailing list