macOS installer: change website tested to `github.com` in case `google.com` is blocked in user's country

time-shift
Houtan Bastani 2020-03-04 10:51:22 +01:00
parent 72c7a9ff9f
commit 7690284142
No known key found for this signature in database
GPG Key ID: 000094FB955BE169
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ exec 2>&1
rm -f "$2"/dummy
# Test for Internet connection
[[ -z $(curl -s -m 4 www.google.com) ]] && \
[[ -z $(curl -s -m 4 https://github.com) ]] && \
{ \
osascript -e 'display alert "Dynare Installation Error" message "No internet connection found" as critical'; \
echo "No internet connection found"; \