Skip to content

Commit

Permalink
Update Install or Defer.sh
Browse files Browse the repository at this point in the history
Allows connectivity check to pass on corporate networks where ping is blocked
  • Loading branch information
just-some-tall-bloke authored Oct 26, 2020
1 parent aba75bf commit 6b185e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion payload/Library/Scripts/Install or Defer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ else
fi

# We need to be connected to the internet in order to download updates.
if /sbin/ping -q -c 1 208.67.222.222; then
if nc -zw1 google.com 443; then
# Check if a custom CatalogURL is set and if it is available
# (deprecated in macOS 11+).
if [[ "$OS_MAJOR" -eq 10 && "$OS_MINOR" -lt 16 ]]; then
Expand Down

0 comments on commit 6b185e5

Please sign in to comment.