ports/print/system-config-printer/files/patch-cupshelpers_cupshelpers.py
Koop Mast 5900c6b14d Update to 1.4.2.
This fixes run-time with glib 2.36.

PR:		ports/180075 [1]
Reported by:	Stephen Fisher <stephenfisher@outlook.com> [1], swills@
2013-09-12 19:44:38 +00:00

11 lines
531 B
Python

--- cupshelpers/cupshelpers.py.orig 2013-07-22 15:58:32.000000000 +0200
+++ cupshelpers/cupshelpers.py 2013-08-29 11:18:44.000000000 +0200
@@ -739,7 +739,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:%%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.