diff options
author | Matías Fonzo <[email protected]> | 2020-02-06 20:13:57 -0300 |
---|---|---|
committer | TDE Gitea <[email protected]> | 2020-02-10 19:13:04 +0000 |
commit | 0b11285d0b9eb902b2a4de8c76c4f6f160e8d7f1 (patch) | |
tree | 4d588bc1ab9803097fa0d2329f37c84593450ce3 /starttde | |
parent | b2c04ad8be5fa8e18fef7b211aaad653a745a0ee (diff) | |
download | tdebase-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-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 |