diff options
Diffstat (limited to 'src/SMAPI.Installer/unix-launcher.sh')
-rw-r--r-- | src/SMAPI.Installer/unix-launcher.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SMAPI.Installer/unix-launcher.sh b/src/SMAPI.Installer/unix-launcher.sh index 0ca5c852..71ed103d 100644 --- a/src/SMAPI.Installer/unix-launcher.sh +++ b/src/SMAPI.Installer/unix-launcher.sh @@ -65,11 +65,11 @@ else for terminal in "$TERMINAL" xterm x-terminal-emulator kitty terminator xfce4-terminal gnome-terminal konsole terminal termite; do if $COMMAND "$terminal" 2>/dev/null; then # Find the true shell behind x-terminal-emulator - if [ "$(basename "$(readlink -ef which "$terminal")")" != "x-terminal-emulator" ]; then + if [ "$(basename "$(readlink -f $(which "$terminal"))")" != "x-terminal-emulator" ]; then export LAUNCHTERM=$terminal break; else - export LAUNCHTERM="$(basename "$(readlink -ef which x-terminal-emulator)")" + export LAUNCHTERM="$(basename "$(readlink -f $(which x-terminal-emulator))")" # Remember that we're using x-terminal-emulator just in case it points outside the $PATH export XTE=1 break; |