summaryrefslogtreecommitdiff
path: root/print/hplip3/files/patch-check.py
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2009-08-05 00:44:53 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2009-08-05 00:44:53 +0000
commitd71f6fec03e234ead99c3e26b7968fd035a25fe0 (patch)
tree1f3c0ce49a4ef81373a03030970cdeb86e4775a5 /print/hplip3/files/patch-check.py
parentThis module creates a layer on top of DOM that allows you to program (diff)
- Update to 3.9.6b
PR: 135702 Submitteed by: Chris Petrik <c.petrik.sosa@gmail.com> Thanks to: "Juergen Lock" <nox@jelal.kn-bremen.de>
Notes
Notes: svn path=/head/; revision=238924
Diffstat (limited to 'print/hplip3/files/patch-check.py')
-rw-r--r--print/hplip3/files/patch-check.py20
1 files changed, 20 insertions, 0 deletions
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)