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

Thijs Kinkhorst thijs at alioth.debian.org
Wed May 16 09:50:05 UTC 2007


Author: thijs
Date: 2007-05-16 09:50:05 +0000 (Wed, 16 May 2007)
New Revision: 495

Modified:
   trunk/debian/changelog
   trunk/debian/mailman.init
Log:
* Do not break upgrades in case python is temporarily unavailable
  (Closes: #419563).

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2007-05-16 09:38:22 UTC (rev 494)
+++ trunk/debian/changelog	2007-05-16 09:50:05 UTC (rev 495)
@@ -4,8 +4,10 @@
     (Closes: #414365).
   * Make sure Mailman can be properly purged (Closes: #421676).
   * Remove obsolete upgrading code.
+  * Do not break upgrades in case python is temporarily unavailable
+    (Closes: #419563).
 
- -- Thijs Kinkhorst <thijs at debian.org>  Sat, 05 May 2007 17:47:29 +0200
+ -- Thijs Kinkhorst <thijs at debian.org>  Wed, 16 May 2007 11:48:55 +0200
 
 mailman (1:2.1.9-7) unstable; urgency=low
 

Modified: trunk/debian/mailman.init
===================================================================
--- trunk/debian/mailman.init	2007-05-16 09:38:22 UTC (rev 494)
+++ trunk/debian/mailman.init	2007-05-16 09:50:05 UTC (rev 495)
@@ -37,6 +37,13 @@
 
 . /lib/lsb/init-functions
 
+# In rare upgrading cycles python might not be available at some point.
+# Do not break the upgrade in that case.
+if ! [ -x /usr/bin/python ]; then
+	log_warning_msg "Python interpreter not available, exiting."
+	exit 0;
+fi
+
 case "$1" in
   start)
     if [ "$(/var/lib/mailman/bin/list_lists -b | grep ^mailman$ )" = "" ]; then




More information about the Pkg-mailman-hackers mailing list