Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2017-12-12 12:20:01 +0300
committernachoparker <nacho@ownyourbits.com>2017-12-12 12:20:31 +0300
commitf7030f56d4b1a78e063956c1441cea90d3ef2645 (patch)
tree0c7395e637a56949be32a89e8b6b80690099f9bb /bin/ncp-update
parent3fedf4f432521b56b5f8040e5a8f3de0675dfc00 (diff)
replace ping to github.com to google.comv0.41.7
Diffstat (limited to 'bin/ncp-update')
-rwxr-xr-xbin/ncp-update2
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