summaryrefslogtreecommitdiff
path: root/debian/foomatic-filters.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/foomatic-filters.postinst')
-rw-r--r--debian/foomatic-filters.postinst5
1 files changed, 2 insertions, 3 deletions
diff --git a/debian/foomatic-filters.postinst b/debian/foomatic-filters.postinst
index 687523a..63578d1 100644
--- a/debian/foomatic-filters.postinst
+++ b/debian/foomatic-filters.postinst
@@ -47,12 +47,11 @@ else
ps_accounting="ps_accounting: 0"
fi
-# Since foomatic-filters 3.0.2-20070719-0ubuntu1 in Ubuntu and
-# since foomatic-filters 4.0.5-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.5-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" ; then
ps_accounting="ps_accounting: 1"
RET=true
db_set foomatic-filters/ps_accounting true