From d71f6fec03e234ead99c3e26b7968fd035a25fe0 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Wed, 5 Aug 2009 00:44:53 +0000 Subject: - Update to 3.9.6b PR: 135702 Submitteed by: Chris Petrik Thanks to: "Juergen Lock" --- print/hplip3/files/patch-check.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 print/hplip3/files/patch-check.py (limited to 'print/hplip3/files/patch-check.py') diff --git a/print/hplip3/files/patch-check.py b/print/hplip3/files/patch-check.py new file mode 100644 index 000000000000..554e1ac5d836 --- /dev/null +++ b/print/hplip3/files/patch-check.py @@ -0,0 +1,20 @@ +--- check.py.bak 2009-07-31 05:33:11.000000000 -0500 ++++ check.py 2009-07-31 05:34:36.000000000 -0500 +@@ -337,7 +337,7 @@ + num_errors += 1 + + if cups_ok: +- cups_conf = '/etc/cups/cupsd.conf' ++ cups_conf = '/usr/local/etc/cups/cupsd.conf' + + try: + f = file(cups_conf, 'r') +@@ -600,7 +600,7 @@ + #log.info("Installed in HPLIP?: %s" % x) + log.info("Device URI: %s" % device_uri) + +- ppd = os.path.join('/etc/cups/ppd', printer_name + '.ppd') ++ ppd = os.path.join('/usr/local/etc/cups/ppd', printer_name + '.ppd') + + if os.path.exists(ppd): + log.info("PPD: %s" % ppd) -- cgit v1.2.3