summaryrefslogtreecommitdiffstats
path: root/starttde
diff options
context:
space:
mode:
authorMatías Fonzo <[email protected]>2020-02-06 20:13:57 -0300
committerTDE Gitea <[email protected]>2020-02-10 19:13:04 +0000
commit0b11285d0b9eb902b2a4de8c76c4f6f160e8d7f1 (patch)
tree4d588bc1ab9803097fa0d2329f37c84593450ce3 /starttde
parentb2c04ad8be5fa8e18fef7b211aaad653a745a0ee (diff)
downloadtdebase-0b11285d0b9eb902b2a4de8c76c4f6f160e8d7f1.tar.gz
tdebase-0b11285d0b9eb902b2a4de8c76c4f6f160e8d7f1.zip
starttde: Fix trailing ], outside test
Signed-off-by: Matías Fonzo <[email protected]>
Diffstat (limited to 'starttde')
-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