From ab52bf5a0ecbd69f3c3ac749caecb1818014e3d3 Mon Sep 17 00:00:00 2001 From: Didier Raboud Date: Tue, 10 Aug 2010 20:11:58 +0200 Subject: Make sure we spot the correct version. --- debian/foomatic-filters.postinst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/foomatic-filters.postinst b/debian/foomatic-filters.postinst index 6a21e5f..687523a 100644 --- a/debian/foomatic-filters.postinst +++ b/debian/foomatic-filters.postinst @@ -48,11 +48,11 @@ else fi # Since foomatic-filters 3.0.2-20070719-0ubuntu1 in Ubuntu and -# since foomatic-filters 4.0.4-1 in Debian, the default for inserting +# since foomatic-filters 4.0.5-1 in Debian, the default for inserting # PostScript code for CUPS' page accounting changed. This functionality # is now activated by default as for problematic drivers it can be # deactivated individually -if dpkg --compare-versions "$2" lt-nl "4.0.4-1" || (dpkg --compare-versions "$2" lt-nl "3.0.2-20070719-0ubuntu1" && dpkg-vendor --derives-from Ubuntu); then +if dpkg --compare-versions "$2" lt-nl "4.0.5-1" || (dpkg --compare-versions "$2" lt-nl "3.0.2-20070719-0ubuntu1" && dpkg-vendor --derives-from Ubuntu); then ps_accounting="ps_accounting: 1" RET=true db_set foomatic-filters/ps_accounting true -- cgit v1.2.3