r19378 - /trunk/libpdf-api2-perl/debian/prerm

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Sun May 4 17:25:13 UTC 2008


Author: dmn
Date: Sun May  4 17:25:12 2008
New Revision: 19378

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=19378
Log:
set ROOT; the proper relation symbol for dpkg is "<<", not "-lt"

Modified:
    trunk/libpdf-api2-perl/debian/prerm

Modified: trunk/libpdf-api2-perl/debian/prerm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpdf-api2-perl/debian/prerm?rev=19378&op=diff
==============================================================================
--- trunk/libpdf-api2-perl/debian/prerm (original)
+++ trunk/libpdf-api2-perl/debian/prerm Sun May  4 17:25:12 2008
@@ -16,12 +16,13 @@
 # for details, see http://www.debian.org/doc/debian-policy/ or
 # the debian-policy package
 
+ROOT="/usr/share/perl5/PDF/API2"
 
 case "$1" in
     upgrade)
     # when downgrading to a version prior 0.66-1, we should replace the fonts
     # symlink back with a directory. See #476032
-    if dpkg --compare-versions "$2" -lt "0.66-1~" \
+    if dpkg --compare-versions "$2" '<<' "0.66-1~" \
         && [ -L "$ROOT/fonts" ];
     then
         echo "Detected downgrade to a version prior 0.66-1."




More information about the Pkg-perl-cvs-commits mailing list