diff options
author | Didier Raboud <didier@raboud.com> | 2010-08-10 20:11:58 +0200 |
---|---|---|
committer | Didier Raboud <didier@raboud.com> | 2010-08-10 20:14:24 +0200 |
commit | ab52bf5a0ecbd69f3c3ac749caecb1818014e3d3 (patch) | |
tree | 87ba4b234e406c7de01d1db0221801f6fa9f5eb6 /debian | |
parent | b59cfc28fd897a9c73fe87fc2ed15aaed4e287cf (diff) |
Make sure we spot the correct version.
Diffstat (limited to 'debian')
-rw-r--r-- | debian/foomatic-filters.postinst | 4 |
1 files 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 |