$OpenBSD: patch-fax_backend_hpfax_py,v 1.2 2009/07/13 08:14:28 ajacoutot Exp $ --- fax/backend/hpfax.py.orig Thu Jul 2 14:13:47 2009 +++ fax/backend/hpfax.py Thu Jul 2 14:14:02 2009 @@ -46,7 +46,7 @@ PIPE_BUF = 4096 job_id = 0 pid = os.getpid() -config_file = '/etc/hp/hplip.conf' +config_file = '${SYSCONFDIR}/hp/hplip.conf' home_dir = '' @@ -65,7 +65,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):