aboutsummaryrefslogtreecommitdiff
path: root/print/system-config-printer/files/patch-cupshelpers_cupshelpers.py
diff options
context:
space:
mode:
Diffstat (limited to 'print/system-config-printer/files/patch-cupshelpers_cupshelpers.py')
-rw-r--r--print/system-config-printer/files/patch-cupshelpers_cupshelpers.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/print/system-config-printer/files/patch-cupshelpers_cupshelpers.py b/print/system-config-printer/files/patch-cupshelpers_cupshelpers.py
index 6624df0adb63..079c395adf40 100644
--- a/print/system-config-printer/files/patch-cupshelpers_cupshelpers.py
+++ b/print/system-config-printer/files/patch-cupshelpers_cupshelpers.py
@@ -1,15 +1,15 @@
---- cupshelpers/cupshelpers.py.orig 2008-07-09 06:23:44.000000000 -0500
-+++ cupshelpers/cupshelpers.py 2008-07-26 13:33:50.596144479 -0500
-@@ -699,7 +699,7 @@
+--- cupshelpers/cupshelpers.py.orig 2009-12-22 09:44:19.000000000 -0500
++++ cupshelpers/cupshelpers.py 2009-12-29 00:08:26.000000000 -0500
+@@ -663,7 +663,7 @@
# First, a local function. How to check that something exists
# in a path:
- def pathcheck (name, path="/usr/bin:/bin"):
-+ def pathcheck (name, path="%%LOCALBASE%%/bin:/usr/bin:/bin:%%PREFIX%%/bin"):
- # Strip out foomatic '%'-style place-holders.
- p = name.find ('%')
- if p != -1:
-@@ -794,7 +794,7 @@
++ def pathcheck (name, path="%%LOCALBASE%%/bin:%%PREFIX%%/bin:/usr/bin:/bin"):
+ if name == "-":
+ # A filter of "-" means that no filter is required,
+ # i.e. the device accepts the given format as-is.
+@@ -765,7 +765,7 @@
continue
exepath = pathcheck (exe,