summaryrefslogtreecommitdiff
path: root/print/system-config-printer/files/patch-system-config-printer.py
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2008-12-24 18:47:29 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2008-12-24 18:47:29 +0000
commitc78371356734c5d346de3909fa1010f0c30e2cbf (patch)
treeee1b2fa468562619dd4078f605f35222647940a2 /print/system-config-printer/files/patch-system-config-printer.py
parentUpdate to 1.9.44. (diff)
- Update to 1.0.12.
- Correct the path of snmp (lib -> libexec). - Do not comment out the debugprint or it crashes when try to add printer from samba. Approved by: ahze (maintainer)
Notes
Notes: svn path=/head/; revision=224694
Diffstat (limited to 'print/system-config-printer/files/patch-system-config-printer.py')
-rw-r--r--print/system-config-printer/files/patch-system-config-printer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/print/system-config-printer/files/patch-system-config-printer.py b/print/system-config-printer/files/patch-system-config-printer.py
index 2a98aba10a16..784a0a8cea29 100644
--- a/print/system-config-printer/files/patch-system-config-printer.py
+++ b/print/system-config-printer/files/patch-system-config-printer.py
@@ -5,7 +5,7 @@
if host:
os.environ["HOST"] = host
- cmd = '/usr/lib/cups/backend/snmp "${HOST}"'
-+ cmd = '%%LOCALBASE%%/lib/cups/backend/snmp "${HOST}"'
++ cmd = '%%LOCALBASE%%/libexec/cups/backend/snmp "${HOST}"'
debugprint (host + ": " + cmd)
stdout = None
try: