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-08-16 01:37:50 +0300
committernachoparker <nacho@ownyourbits.com>2017-08-16 01:37:50 +0300
commit8f349c938f614e3157656d0a0a473e5a8a93eb56 (patch)
tree417ee9d2957a60972039686841bacea750cde777 /bin/ncp-update
parent96685c2928597c5b0499ac782644581fc5903abf (diff)
faster remote updates and version checksv0.20.4
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 8330cf06..25662956 100755
--- a/bin/ncp-update
+++ b/bin/ncp-update
@@ -7,7 +7,7 @@
ping -W 2 -w 1 -q github.com &>/dev/null || { echo "No internet connectivity"; exit 1; }
echo -e "Downloading updates"
rm -rf /tmp/ncp-update-tmp
- git clone -q https://github.com/nextcloud/nextcloudpi.git /tmp/ncp-update-tmp || exit 1
+ git clone --depth 20 -q https://github.com/nextcloud/nextcloudpi.git /tmp/ncp-update-tmp || exit 1
cd /tmp/ncp-update-tmp
echo -e "Performing updates"