diff options
author | nacho <nacho@ownyourbits.com> | 2018-12-31 01:59:26 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2019-01-05 04:14:53 +0300 |
commit | 497edb8d9471c05ace0868e2d6c2f092dca7c030 (patch) | |
tree | 94e08ea7cc0741e40a6c60ca83b181951cf9a955 /bin/ncp-update | |
parent | bc0271e359749aadc9c782cab8b7dddf41220b3b (diff) |
add restore defaults btn
Diffstat (limited to 'bin/ncp-update')
-rwxr-xr-x | bin/ncp-update | 3 |
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 && { |