starttde: Fix trailing ], outside test

Signed-off-by: Matías Fonzo <selk@dragora.org>
(cherry picked from commit 0b11285d0b)
pull/182/head
Matías Fonzo 4 years ago committed by Slávek Banko
parent 8ca134589b
commit ac70ac954a
Signed by: SlavekB
GPG Key ID: 608F5293A04BE668

@ -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

Loading…
Cancel
Save