Skip to content

Commit

Permalink
Update Install or Defer.sh
Browse files Browse the repository at this point in the history
Switched connectivity check from google.com to swscan.apple.com (Apple update server)
  • Loading branch information
just-some-tall-bloke authored Dec 17, 2020
1 parent 6b185e5 commit 8ab96f3
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 nc -zw1 google.com 443; then
if nc -zw1 swscan.apple.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 8ab96f3

Please sign in to comment.