[Python-modules-commits] r13539 - in packages/python-docutils/trunk/debian (2 files)
jwilk at users.alioth.debian.org
jwilk at users.alioth.debian.org
Tue Jun 22 13:16:22 UTC 2010
Date: Tuesday, June 22, 2010 @ 13:16:02
Author: jwilk
Revision: 13539
Correct the preinst script to remove python-central leftovers even when upgrading from a version that uses python-support.
Modified:
packages/python-docutils/trunk/debian/changelog
packages/python-docutils/trunk/debian/python-docutils.preinst
Modified: packages/python-docutils/trunk/debian/changelog
===================================================================
--- packages/python-docutils/trunk/debian/changelog 2010-06-22 12:06:50 UTC (rev 13538)
+++ packages/python-docutils/trunk/debian/changelog 2010-06-22 13:16:02 UTC (rev 13539)
@@ -1,3 +1,11 @@
+python-docutils (0.6-5) UNRELEASED; urgency=low
+
+ * Correct the preinst script to remove python-central leftovers even when
+ upgrading from a version that uses python-support (closes: #586683).
+ Thanks to Julian Andres Klode for the bug report.
+
+ -- Jakub Wilk <jwilk at debian.org> Tue, 22 Jun 2010 15:13:09 +0200
+
python-docutils (0.6-4) unstable; urgency=low
* Bump standards version to 3.8.4 (no changes needed).
Modified: packages/python-docutils/trunk/debian/python-docutils.preinst
===================================================================
--- packages/python-docutils/trunk/debian/python-docutils.preinst 2010-06-22 12:06:50 UTC (rev 13538)
+++ packages/python-docutils/trunk/debian/python-docutils.preinst 2010-06-22 13:16:02 UTC (rev 13539)
@@ -2,10 +2,10 @@
set -e
# TODO: remove this snippet after releasing Squeeze
-if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt 0.5-3~
+if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt 0.6-5~
then
pycentral pkgremove python-docutils || true
- rm -Rf /usr/lib/python2.[45]/docutils/
+ rm -Rf /usr/lib/python2.*/*-packages/docutils/
fi
#DEBHELPER#
More information about the Python-modules-commits
mailing list