- fix gnome-session scriptepel9
parent
193d6e363a
commit
feae2a1494
@ -1,3 +1,2 @@
|
||||
setlayout.c
|
||||
openbox-3.4.9.tar.gz
|
||||
openbox-3.4.10.tar.gz
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,19 @@
|
||||
commit 62e36ad0410ce888e7097e7bce5cbbf67b5b6290
|
||||
Author: Dana Jansens <danakj@orodu.net>
|
||||
Date: Tue Jan 12 13:59:25 2010 -0500
|
||||
|
||||
Fixes bug #4492 (mis-using the return value of grep -q in openbox-gnome-session script
|
||||
|
||||
diff --git a/data/xsession/openbox-gnome-session.in b/data/xsession/openbox-gnome-session.in
|
||||
index 6765ae8..1f17edb 100644
|
||||
--- a/data/xsession/openbox-gnome-session.in
|
||||
+++ b/data/xsession/openbox-gnome-session.in
|
||||
@@ -37,7 +37,7 @@ else
|
||||
if test -z "$SESSION"; then
|
||||
# if its empty then just run openbox
|
||||
SESSION="[openbox]"
|
||||
- elif test -z $(echo "$SESSION" | grep -q openbox); then
|
||||
+ elif echo "$SESSION" | grep -q openbox; then
|
||||
# if openbox isn't in the session then append it
|
||||
SESSION="${SESSION%]},openbox]"
|
||||
fi
|
Loading…
Reference in new issue