8fe49b35b8
fix bashisms in startxfce4 script OBS-URL: https://build.opensuse.org/request/show/259713 OBS-URL: https://build.opensuse.org/package/show/X11:xfce/xfce4-session?expand=0&rev=121
22 lines
728 B
Diff
22 lines
728 B
Diff
diff -Ndurp xfce4-session-4.10.1/scripts/startxfce4.in xfce4-session-4.10.1-fix-bashisms/scripts/startxfce4.in
|
|
--- xfce4-session-4.10.1/scripts/startxfce4.in 2013-05-05 18:33:55.000000000 +0300
|
|
+++ xfce4-session-4.10.1-fix-bashisms/scripts/startxfce4.in 2014-10-19 21:33:03.205621315 +0300
|
|
@@ -24,7 +24,7 @@ then
|
|
OPTS=""
|
|
for OPT in $*
|
|
do
|
|
- if test "x$OPT" == "x--help"
|
|
+ if [ "x$OPT" = "x--help" ]
|
|
then
|
|
# print help and exit
|
|
echo "Usage:"
|
|
@@ -37,7 +37,7 @@ then
|
|
echo
|
|
|
|
exit 0
|
|
- elif test "x$OPT" == "x--with-ck-launch"
|
|
+ elif [ "x$OPT" = "x--with-ck-launch" ]
|
|
then
|
|
# try to launch xfce4-session with ck-launch-session in xinitrc
|
|
XFCE4_SESSION_WITH_CK="1"
|