[mintmenu] update patch 5 and 13
Wolfgang Ulbrich
raveit65 at fedoraproject.org
Mon Jan 20 20:37:40 UTC 2014
commit 8084f39d517b68c833467a53621d51fd66a4bf1b
Author: raveit65 <chat-to-me at raveit.de>
Date: Mon Jan 20 21:37:49 2014 +0100
update patch 5 and 13
mintmenu_execute-fix.patch | 12 ++++++------
mintmenu_run-as-superuser.patch | 8 ++++----
2 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/mintmenu_execute-fix.patch b/mintmenu_execute-fix.patch
index f6bf727..757cc3e 100644
--- a/mintmenu_execute-fix.patch
+++ b/mintmenu_execute-fix.patch
@@ -1,10 +1,10 @@
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 2013-11-30 11:19:18.565861000 +0100
-+++ mintmenu/usr/lib/linuxmint/mintMenu/plugins/execute.py 2013-11-30 11:26:49.359379116 +0100
-@@ -29,7 +29,7 @@ def Execute( cmd , commandCwd=None):
- os.chdir(cwd)
- os.system(cmd + " &")
- return True
+--- mintmenu-orig/usr/lib/linuxmint/mintMenu/plugins/execute.py 2014-01-20 21:02:06.700918000 +0100
++++ mintmenu/usr/lib/linuxmint/mintMenu/plugins/execute.py 2014-01-20 21:05:02.174672842 +0100
+@@ -33,7 +33,7 @@ def Execute( cmd , commandCwd=None):
+ except Exception, detail:
+ print detail
+ return False
- cmd = cmd.split()
+ cmd = cmd.split()
cmd = RemoveArgs(cmd)
diff --git a/mintmenu_run-as-superuser.patch b/mintmenu_run-as-superuser.patch
index 80b1ce1..dd71335 100644
--- a/mintmenu_run-as-superuser.patch
+++ b/mintmenu_run-as-superuser.patch
@@ -1,6 +1,6 @@
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 2013-11-30 11:13:56.258615000 +0100
-+++ mintmenu/usr/lib/linuxmint/mintMenu/plugins/execute.py 2013-11-30 11:15:31.670576869 +0100
+--- 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
@@ -8,5 +8,5 @@ diff -upr mintmenu-orig/usr/lib/linuxmint/mintMenu/plugins/execute.py mintmenu/u
- if (cmd.find("/home/") >= 0) or (cmd.find("su-to-root") >= 0) or (cmd.find("\"") >= 0):
+ if (cmd.find("/home/") >= 0) or (cmd.find("beesu") >= 0) or (cmd.find("\"") >= 0):
print "running manually..."
- os.chdir(cwd)
- os.system(cmd + " &")
+ try:
+ os.chdir(cwd)
More information about the scm-commits
mailing list