hplip/mga-kde4-kdesudo-support.patch
2013-11-13 16:39:35 +04:00

13 lines
668 B
Diff

--- hplip-3.13.10/base/password.py 2013-10-11 09:40:14.000000000 +0000
+++ hplip-3.13.10/base/password.py.tpg 2013-10-19 11:33:59.821243929 +0000
@@ -297,6 +297,10 @@
'''
if utils.which('kdesu'):
AuthType, AuthCmd = 'kdesu', 'kdesu -- %s'
+ elif utils.which('/usr/lib64/kde4/libexec/kdesu'):
+ AuthType, AuthCmd = '/usr/lib64/kde4/libexec/kdesu', 'kdesu -- %s'
+ elif utils.which('/usr/lib/kde4/libexec/kdesu'):
+ AuthType, AuthCmd = '/usr/lib/kde4/libexec/kdesu', 'kdesu -- %s'
elif utils.which('kdesudo'):
AuthType, AuthCmd = 'kdesudo', 'kdesudo -- %s'
elif utils.which('gnomesu'):