Browse Source

Check if mono is already installed before trying to install it. (#1496)

pull/1497/head
josetr 5 years ago committed by GitHub
parent
commit
aec4ca6442
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      build/InstallMono.sh

5
build/InstallMono.sh

@ -1,4 +1,9 @@ @@ -1,4 +1,9 @@
OS=$(uname -s)
if [ "$(command -v mono)" ]; then
exit 0
fi
if [ "$OS" == "Darwin" ]; then
curl -o mono.pkg https://download.mono-project.com/archive/6.10.0/macos-10-universal/MonoFramework-MDK-6.10.0.macos10.xamarin.universal.pkg
sudo installer -pkg mono.pkg -target /

Loading…
Cancel
Save