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>2018-02-07 11:35:12 +0300
committernachoparker <nacho@ownyourbits.com>2018-02-07 19:07:56 +0300
commitd7f253e25cb9fc3c8555075d37c1f807fddd2a03 (patch)
tree9c91368568d8ce6ea638b4daadeacbe9b2b6ecbe /bin/ncp-update
parentc8aa2a2ab527c0adbee48094dc1652ff3e786fb7 (diff)
ping to 4.2.2.2 because google is blocked in chinav0.46.1
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 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