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:
authornacho <nacho@ownyourbits.com>2018-12-31 01:59:26 +0300
committernachoparker <nacho@ownyourbits.com>2019-01-05 04:14:53 +0300
commit497edb8d9471c05ace0868e2d6c2f092dca7c030 (patch)
tree94e08ea7cc0741e40a6c60ca83b181951cf9a955 /bin/ncp-update
parentbc0271e359749aadc9c782cab8b7dddf41220b3b (diff)
add restore defaults btn
Diffstat (limited to 'bin/ncp-update')
-rwxr-xr-xbin/ncp-update3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ncp-update b/bin/ncp-update
index c54d1e24..6d3e3556 100755
--- a/bin/ncp-update
+++ b/bin/ncp-update
@@ -16,7 +16,8 @@
echo "No internet connectivity"
exit 1
}
- cd "$TMPDIR" # update locally during build
+
+ [[ -f /.ncp-image ]] || cd "$TMPDIR" # update locally during build
echo -e "Performing updates"
./update.sh && {