From 769028414262d74b68903d25728f622e135a6609 Mon Sep 17 00:00:00 2001 From: Houtan Bastani Date: Wed, 4 Mar 2020 10:51:22 +0100 Subject: [PATCH] macOS installer: change website tested to `github.com` in case `google.com` is blocked in user's country --- macOS/scripts/postinstall | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macOS/scripts/postinstall b/macOS/scripts/postinstall index e7a2077f7..f0ff9f4f5 100755 --- a/macOS/scripts/postinstall +++ b/macOS/scripts/postinstall @@ -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"; \