[Python-modules-commits] r9002 - in packages/libapache2-mod-python/trunk/debian (2 files)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Tue Jul 7 22:14:43 UTC 2009


    Date: Tuesday, July 7, 2009 @ 22:14:42
  Author: morph
Revision: 9002

* debian/libapache2-mod-python.postinst
  - use 'dpkg --compare-versions'

Modified:
  packages/libapache2-mod-python/trunk/debian/changelog
  packages/libapache2-mod-python/trunk/debian/libapache2-mod-python.postinst

Modified: packages/libapache2-mod-python/trunk/debian/changelog
===================================================================
--- packages/libapache2-mod-python/trunk/debian/changelog	2009-07-07 21:36:54 UTC (rev 9001)
+++ packages/libapache2-mod-python/trunk/debian/changelog	2009-07-07 22:14:42 UTC (rev 9002)
@@ -11,8 +11,10 @@
       report; Closes: #521965 (RC hence urgency=medium)
   * debian/control
     - bump Standards-Version to 3.8.2 (no changes needed)
+  * debian/libapache2-mod-python.postinst
+    - use 'dpkg --compare-versions'
 
- -- Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>  Tue, 07 Jul 2009 23:37:10 +0200
+ -- Sandro Tosi <morph at debian.org>  Wed, 08 Jul 2009 00:13:37 +0200
 
 libapache2-mod-python (3.3.1-7) unstable; urgency=low
 

Modified: packages/libapache2-mod-python/trunk/debian/libapache2-mod-python.postinst
===================================================================
--- packages/libapache2-mod-python/trunk/debian/libapache2-mod-python.postinst	2009-07-07 21:36:54 UTC (rev 9001)
+++ packages/libapache2-mod-python/trunk/debian/libapache2-mod-python.postinst	2009-07-07 22:14:42 UTC (rev 9002)
@@ -8,7 +8,7 @@
 
 # Before 3.3.1-3, the module had a different name, so if we are upgrading
 # from such an old package, re-enable the module if it was enabled
-if dpkg-compare-versions "$2" lt-nl "3.3.1-3"; then
+if dpkg --compare-versions "$2" lt-nl "3.3.1-3"; then
 	test -L $OLDENABLED && rm -f $OLDENABLED && a2enmod python >/dev/null || true
 	test -e $OLDAVAILABLE && rm -f $OLDAVAILABLE
 fi




More information about the Python-modules-commits mailing list