control: tags -1 patch

There already is a test to only show the message when upgrading from old
versions, but that test should consider /new/ version as /later/.
See attached patch.

Now that version is so old that removing libphp-adodb.config altogether
is probably the best course of action...
--- debian/libphp-adodb.config	2009-09-08 08:35:38.000000000 +0200
+++ debian/libphp-adodb.config.new	2015-02-27 11:34:53.286299900 +0100
@@ -11,7 +11,7 @@
 
 #
 # print a warning, if we're upgrading from 1.x versions (/usr/lib ->/usr/share)
-if dpkg --compare-versions "$version" lt "4.64-1" ; then
+if dpkg --compare-versions "$version" lt-nl "4.64-1" ; then
 	db_input critical libphp-adodb/pathmove || true
 	db_go || true
 fi

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to