openbsd-ports/print/hplip/patches/patch-base_service_py
ajacoutot 1cde74a860 - update to version 2.7.12 (should be the latest 2.7.* release; we'll
see about updating to the 2.8.* version later)
- enable gui interface

Thanks to Predrag Punosevac <punosevac at math.arizona dot edu> for the
reminder
2008-03-15 10:18:29 +00:00

13 lines
609 B
Plaintext

$OpenBSD: patch-base_service_py,v 1.1 2008/03/15 10:18:30 ajacoutot Exp $
--- base/service.py.orig Fri Mar 7 11:02:36 2008
+++ base/service.py Fri Mar 7 11:03:19 2008
@@ -39,7 +39,7 @@ def startup(startup_if_not_running=True):
except socket.error:
if startup_if_not_running:
log.debug("Cannot connect to hpssd. Launching...")
- os.system("python " + os.path.join(prop.home_dir, "hpssd.py"))
+ os.system("!!MODPY_BIN!! " + os.path.join(prop.home_dir, "hpssd.py"))
time.sleep(0.5)
time_left = 10
start_time = time.time()