From d3c735426a6565d0d9a736dde0346b2d88f21a95 Mon Sep 17 00:00:00 2001 From: nachoparker Date: Fri, 23 Feb 2018 00:24:53 +0100 Subject: [PATCH] update: print info first --- bin/ncp-update | 6 +++--- changelog.md | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/bin/ncp-update b/bin/ncp-update index 60141560a..9b90b0546 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 e4b4995df..7543396d9 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