From c2b82d4e8bf303483f02793a86a4b5c021dc6fb1 Mon Sep 17 00:00:00 2001 From: Houtan Bastani <houtan@dynare.org> 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 (cherry picked from commit 769028414262d74b68903d25728f622e135a6609) --- macOS/scripts/postinstall | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macOS/scripts/postinstall b/macOS/scripts/postinstall index e7a2077f71..f0ff9f4f56 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"; \ -- GitLab