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

13 lines
536 B
Plaintext

$OpenBSD: patch-ui4_nodevicesdialog_py,v 1.3 2011/03/02 06:59:03 ajacoutot Exp $
--- ui4/nodevicesdialog.py.orig Wed Jan 19 06:18:20 2011
+++ ui4/nodevicesdialog.py Tue Feb 1 08:42:07 2011
@@ -53,7 +53,7 @@ class NoDevicesDialog(QDialog, Ui_NoDevicesDialog_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)