ports/print/hplip/patches/patch-base_queues_py

12 lines
502 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
--- base/queues.py.orig Wed May 4 07:23:22 2016
+++ base/queues.py Thu May 5 10:02:31 2016
@@ -128,7 +128,7 @@ def parseQueues(mode):
is_hp = True
log.debug("Device URI: %s" % device_uri)
- ppd_file = os.path.join('/etc/cups/ppd', printer_name + '.ppd')
+ ppd_file = os.path.join('${SYSCONFDIR}/cups/ppd', printer_name + '.ppd')
ppd_fileType = None
PPDFileError = False
if not os.path.exists(ppd_file):