summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatías Fonzo <selk@dragora.org>2020-02-06 20:13:57 -0300
committerSlávek Banko <slavek.banko@axis.cz>2020-02-10 20:14:50 +0100
commitac70ac954ad22bbfa10dfc4f550e44cf2b11329e (patch)
treeffc55141b4fa6bfc93c77801a03c44934aae6933
parent8ca134589beeea27822d8fbeff5a623db146ccc6 (diff)
downloadtdebase-ac70ac954ad22bbfa10dfc4f550e44cf2b11329e.tar.gz
tdebase-ac70ac954ad22bbfa10dfc4f550e44cf2b11329e.zip
starttde: Fix trailing ], outside test
Signed-off-by: Matías Fonzo <selk@dragora.org> (cherry picked from commit 0b11285d0b9eb902b2a4de8c76c4f6f160e8d7f1)
-rwxr-xr-xstarttde4
1 files changed, 2 insertions, 2 deletions
diff --git a/starttde b/starttde
index f12ce57b1..82bdc84d1 100755
--- a/starttde
+++ b/starttde
@@ -161,7 +161,7 @@ else
# Default value: $HOME/.trinity. Most users will use this.
export TDEHOME=$HOME/.trinity
- if [ ! -d $HOME/.trinity ] && [ ! -f /usr/bin/kde4-config ] && [ "$TDEDIR"="/usr" ] && [ -d $HOME/.kde ]; then
+ if [ ! -d $HOME/.trinity ] && [ ! -f /usr/bin/kde4-config ] && [ "$TDEDIR" = "/usr" ] && [ -d $HOME/.kde ]; then
# Looks like Trinity is installed and not playing second fiddle to KDE4.
export TDEHOME=$HOME/.kde
fi
@@ -192,7 +192,7 @@ fi
fi
fi
- if ! is_in_path PATH "$TDEDIR/bin" ]; then
+ if ! is_in_path PATH "$TDEDIR/bin" ; then
# Respect the traditional path order. Don't blindly place $TDEDIR/bin
# first in the path. Only place $TDEDIR/bin before /usr/bin. This order is
# consistent with tdelibs/tdesu/stub.cpp. If packagers are adding $TDEDIR/bin