xfce4-session/xfce4-session-4.10.1-fix-bashisms.patch

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"