openbsd-ports/print/hplip/patches/patch-ui_nodevicesform_py
2011-03-02 06:59:03 +00:00

13 lines
513 B
Plaintext

$OpenBSD: patch-ui_nodevicesform_py,v 1.3 2011/03/02 06:59:03 ajacoutot Exp $
--- ui/nodevicesform.py.orig Wed Jan 19 06:18:26 2011
+++ ui/nodevicesform.py Tue Feb 1 08:42:07 2011
@@ -56,7 +56,7 @@ class NoDevicesForm(NoDevicesForm_base):
if utils.which('hp-setup'):
cmd = 'hp-setup -u'
else:
- cmd = 'python ./setup.py -u'
+ cmd = '${MODPY_BIN} ./setup.py -u'
log.debug(cmd)
utils.run(cmd, log_output=True, password_func=None, timeout=1)