Skip to content

Commit

Permalink
update: print info first
Browse files Browse the repository at this point in the history
  • Loading branch information
nachoparker committed Feb 22, 2018
1 parent 36a803f commit d3c7354
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions bin/ncp-update
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit d3c7354

Please sign in to comment.