diff options
author | Matías Fonzo <[email protected]> | 2020-02-06 20:13:57 -0300 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-02-10 20:14:50 +0100 |
commit | ac70ac954ad22bbfa10dfc4f550e44cf2b11329e (patch) | |
tree | ffc55141b4fa6bfc93c77801a03c44934aae6933 | |
parent | 8ca134589beeea27822d8fbeff5a623db146ccc6 (diff) | |
download | tdebase-ac70ac954ad22bbfa10dfc4f550e44cf2b11329e.tar.gz tdebase-ac70ac954ad22bbfa10dfc4f550e44cf2b11329e.zip |
starttde: Fix trailing ], outside test
Signed-off-by: Matías Fonzo <[email protected]>
(cherry picked from commit 0b11285d0b9eb902b2a4de8c76c4f6f160e8d7f1)
-rwxr-xr-x | starttde | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |