diff options
author | nachoparker <nacho@ownyourbits.com> | 2018-02-23 02:24:53 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2018-02-23 02:25:07 +0300 |
commit | d3c735426a6565d0d9a736dde0346b2d88f21a95 (patch) | |
tree | dcf28282b38904ce457ad69168a84db84ba79cff | |
parent | 36a803f021b45864c6e609fd8c4eef1df6d75aa1 (diff) |
update: print info firstv0.46.31
-rwxr-xr-x | bin/ncp-update | 6 | ||||
-rw-r--r-- | changelog.md | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/bin/ncp-update b/bin/ncp-update index 60141560..9b90b054 100755 --- a/bin/ncp-update +++ b/bin/ncp-update @@ -5,12 +5,12 @@ { [ "$(id -u)" -ne 0 ] && { printf "Must be run as root. Try 'sudo $0'\n"; exit 1; } + BRANCH="${1:-master}" + [[ "$BRANCH" != "master" ]] && echo "INFO: updating to development branch '$BRANCH'" + echo -e "Downloading updates" rm -rf /tmp/ncp-update-tmp - BRANCH="${1:-master}" - [[ "$BRANCH" != "master" ]] && echo "INFO: updating to development branch $BRANCH" - git clone --depth 20 -b "$BRANCH" -q https://github.com/nextcloud/nextcloudpi.git /tmp/ncp-update-tmp || { echo "No internet connectivity" exit 1 diff --git a/changelog.md b/changelog.md index e4b4995d..7543396d 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,7 @@ -[v0.46.30](https://github.com/nextcloud/nextcloudpi/commit/b6ba190) (2018-02-22) add ncp-provisioning to SD card images +[v0.46.31](https://github.com/nextcloud/nextcloudpi/commit/01090ea) (2018-02-23) update: print info first + +[v0.46.30](https://github.com/nextcloud/nextcloudpi/commit/75dc2e6) (2018-02-22) add ncp-provisioning to SD card images [v0.46.29](https://github.com/nextcloud/nextcloudpi/commit/970a256) (2018-02-22) ncp-web: fix overlay z-index |