Merge pull request #670 from DanielHeath/patch-1

Prevent linux install failing with cryptic error
This commit is contained in:
Jesse Plamondon-Willard 2019-12-02 20:09:58 -05:00 committed by GitHub
commit db6ec7fed6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

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