ports/print/system-config-printer/patches/patch-cupshelpers_cupshelpers_py

12 lines
506 B
Text

Index: cupshelpers/cupshelpers.py
--- cupshelpers/cupshelpers.py.orig
+++ cupshelpers/cupshelpers.py
@@ -757,7 +757,7 @@ def missingExecutables(ppd):
# First, a local function. How to check that something exists
# in a path:
- def pathcheck (name, path="/usr/bin:/bin"):
+ def pathcheck (name, path="/usr/bin:/bin:${LOCALBASE}/bin"):
if name == "-":
# A filter of "-" means that no filter is required,
# i.e. the device accepts the given format as-is.