[Python-modules-commits] r18254 - in packages/python-docutils/trunk/debian (2 files)

jwilk at users.alioth.debian.org jwilk at users.alioth.debian.org
Mon Aug 22 16:50:08 UTC 2011


    Date: Monday, August 22, 2011 @ 16:50:06
  Author: jwilk
Revision: 18254

*.preinst: fix typos.

Modified:
  packages/python-docutils/trunk/debian/python-docutils.preinst
  packages/python-docutils/trunk/debian/python3-docutils.preinst

Modified: packages/python-docutils/trunk/debian/python-docutils.preinst
===================================================================
--- packages/python-docutils/trunk/debian/python-docutils.preinst	2011-08-22 16:45:11 UTC (rev 18253)
+++ packages/python-docutils/trunk/debian/python-docutils.preinst	2011-08-22 16:50:06 UTC (rev 18254)
@@ -1,7 +1,7 @@
 #!/bin/sh
 set -e
 
-if [ "$1" = upgrade ] && dpkg --compare-versions "$2" -lt 0.8
+if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt 0.8
 then
 	update-alternatives --remove rst2newlatex /usr/share/docutils/scripts/python2/rst2newlatex
 fi

Modified: packages/python-docutils/trunk/debian/python3-docutils.preinst
===================================================================
--- packages/python-docutils/trunk/debian/python3-docutils.preinst	2011-08-22 16:45:11 UTC (rev 18253)
+++ packages/python-docutils/trunk/debian/python3-docutils.preinst	2011-08-22 16:50:06 UTC (rev 18254)
@@ -2,7 +2,7 @@
 
 set -e
 
-if [ "$1" = upgrade ] && dpkg --compare-versions "$2" -lt 0.8
+if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt 0.8
 then
 	update-alternatives --remove rst2newlatex /usr/share/docutils/scripts/python3/rst2newlatex
 fi




More information about the Python-modules-commits mailing list