diff options
Diffstat (limited to 'bin/ncp-update')
-rwxr-xr-x | bin/ncp-update | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ncp-update b/bin/ncp-update index c9e52559..1195ab4e 100755 --- a/bin/ncp-update +++ b/bin/ncp-update @@ -4,7 +4,7 @@ { [ "$(id -u)" -ne 0 ] && { printf "Must be run as root. Try 'sudo $0'\n"; exit 1; } - ping -W 2 -w 1 -q google.com &>/dev/null || { echo "No internet connectivity"; exit 1; } + ping -W 2 -w 1 -q 4.2.2.2 &>/dev/null || { echo "No internet connectivity"; exit 1; } echo -e "Downloading updates" rm -rf /tmp/ncp-update-tmp git clone --depth 20 -q https://github.com/nextcloud/nextcloudpi.git /tmp/ncp-update-tmp || exit 1 |