diff options
author | nachoparker <nacho@ownyourbits.com> | 2017-12-12 12:20:01 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2017-12-12 12:20:31 +0300 |
commit | f7030f56d4b1a78e063956c1441cea90d3ef2645 (patch) | |
tree | 0c7395e637a56949be32a89e8b6b80690099f9bb /bin/ncp-update | |
parent | 3fedf4f432521b56b5f8040e5a8f3de0675dfc00 (diff) |
replace ping to github.com to google.comv0.41.7
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 9456819c..c9e52559 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 github.com &>/dev/null || { echo "No internet connectivity"; exit 1; } + ping -W 2 -w 1 -q google.com &>/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 |