diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-12-02 20:09:58 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-02 20:09:58 -0500 |
commit | db6ec7fed658514a73c7e0d03c975588e926fef9 (patch) | |
tree | 34f1f3758f69c628a51c6cab2bec58982305718e /src/SMAPI.Installer | |
parent | fcf313bd3dd84935ea86cd02b4066f31ebb00229 (diff) | |
parent | 10a18290773f3152f018ef9ecc3f7ae4544d7367 (diff) | |
download | SMAPI-db6ec7fed658514a73c7e0d03c975588e926fef9.tar.gz SMAPI-db6ec7fed658514a73c7e0d03c975588e926fef9.tar.bz2 SMAPI-db6ec7fed658514a73c7e0d03c975588e926fef9.zip |
Merge pull request #670 from DanielHeath/patch-1
Prevent linux install failing with cryptic error
Diffstat (limited to 'src/SMAPI.Installer')
-rw-r--r-- | src/SMAPI.Installer/unix-install.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/SMAPI.Installer/unix-install.sh b/src/SMAPI.Installer/unix-install.sh index e3a5d8cc..6d0c86ce 100644 --- a/src/SMAPI.Installer/unix-install.sh +++ b/src/SMAPI.Installer/unix-install.sh @@ -12,6 +12,9 @@ elif type type >/dev/null 2>&1; then COMMAND="type" fi +# if $TERM is not set to xterm, mono will bail out when attempting to write to the console. +export TERM=xterm + # validate Mono & run installer if $COMMAND mono >/dev/null 2>&1; then mono internal/unix-install.exe |