SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
20
print/hplip/patches/patch-fax_backend_hpfax_py
Normal file
20
print/hplip/patches/patch-fax_backend_hpfax_py
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- fax/backend/hpfax.py.orig Thu Jan 29 13:20:35 2015
|
||||
+++ fax/backend/hpfax.py Thu Feb 5 14:28:00 2015
|
||||
@@ -49,7 +49,7 @@ PIPE_BUF = 4096
|
||||
|
||||
job_id = 0
|
||||
pid = os.getpid()
|
||||
-config_file = '/etc/hp/hplip.conf'
|
||||
+config_file = '${SYSCONFDIR}/hp/hplip.conf'
|
||||
home_dir = ''
|
||||
|
||||
|
||||
@@ -68,7 +68,7 @@ if os.path.exists(config_file):
|
||||
bug("Error setting home directory: home= under [dirs] not found.")
|
||||
sys.exit(1)
|
||||
else:
|
||||
- bug("Error setting home directory: /etc/hp/hplip.conf not found")
|
||||
+ bug("Error setting home directory: ${SYSCONFDIR}/hp/hplip.conf not found")
|
||||
sys.exit(1)
|
||||
|
||||
if not home_dir or not os.path.exists(home_dir):
|
Loading…
Add table
Add a link
Reference in a new issue