Created
November 25, 2016 21:18
-
-
Save ivoarch/774aaa964c8f3ee56913a5091aedf7d8 to your computer and use it in GitHub Desktop.
Add support for beesu - (su) graphical interface for Rhel/Fedora .
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- live-usb-install-orig.py 2016-05-15 13:18:34.000000000 +0200 | |
+++ live-usb-install.py 2016-11-25 22:03:37.951168584 +0100 | |
@@ -2997,6 +2997,8 @@ | |
os.system('gksu -D %s ./live-usb-install.py' % '/usr/share/applications/live-usb-install.desktop' if os.path.exists('/usr/share/applications/live-usb-install.desktop') else _('live-usb-install')) | |
elif os.system('which kdesudo')==0: | |
os.system('kdesudo ./live-usb-install.py') | |
+ elif os.system('which beesu')==0: | |
+ os.system('beesu ./live-usb-install.py') | |
elif os.system('which sudo')==0: | |
password = getText('',_('LiveUSB Install requires root privileges. Please enter your password below.'),_('Password'), password = True) | |
while gtk.events_pending(): |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment