File mintmenu_run-as-superuser.patch of Package mintmenu

diff -upr mintmenu-orig/usr/lib/linuxmint/mintMenu/plugins/execute.py mintmenu/usr/lib/linuxmint/mintMenu/plugins/execute.py
--- mintmenu-orig/usr/lib/linuxmint/mintMenu/plugins/execute.py	2014-01-20 20:51:12.828366000 +0100
+++ mintmenu/usr/lib/linuxmint/mintMenu/plugins/execute.py	2014-01-20 20:55:37.673010810 +0100
@@ -24,7 +24,7 @@ def Execute( cmd , commandCwd=None):
 			cwd = tmpCwd
 	
 	if isinstance( cmd, str ) or isinstance( cmd, unicode):
-		if (cmd.find("ubiquity") >= 0) or (cmd.find("/home/") >= 0) or (cmd.find("su-to-root") >= 0) or (cmd.find("\"") >= 0):
+		if (cmd.find("ubiquity") >= 0) or (cmd.find("/home/") >= 0) or (cmd.find("beesu") >= 0) or (cmd.find("\"") >= 0):
 			print "running manually..."
 			try:
 				os.chdir(cwd)
openSUSE Build Service is sponsored by