diff options
author | nachoparker <nacho@ownyourbits.com> | 2018-10-03 22:18:53 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2018-10-04 07:25:16 +0300 |
commit | aa886f9948310403c4cf6bfa2580b344cf96dce9 (patch) | |
tree | 1e77380725de25c64152f2c83739a6e082da0272 | |
parent | af4b646ecfa342a4a90c97d55c99b0f02215f8fc (diff) |
nc-update-nextcloud: option to upgrade to the latest versionv0.62.4
-rw-r--r-- | changelog.md | 6 | ||||
-rw-r--r-- | etc/ncp-config.d/nc-update-nextcloud.sh | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/changelog.md b/changelog.md index 7b09636a..19164a83 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,9 @@ -[v0.62.2](https://github.com/nextcloud/nextcloudpi/commit/2669ba4) (2018-10-02) nc-prettyURL: make sure URL is correct +[v0.62.4](https://github.com/nextcloud/nextcloudpi/commit/128f713) (2018-10-03) nc-update-nextcloud: option to upgrade to the latest version + +[v0.62.3, master](https://github.com/nextcloud/nextcloudpi/commit/af4b646) (2018-10-03) nc-autoupdate-nc: fix repeating notification + +[v0.62.2 ](https://github.com/nextcloud/nextcloudpi/commit/6324949) (2018-10-02) nc-prettyURL: make sure URL is correct [v0.62.1 ](https://github.com/nextcloud/nextcloudpi/commit/4f20b71) (2018-09-30) redis: change eviction policy diff --git a/etc/ncp-config.d/nc-update-nextcloud.sh b/etc/ncp-config.d/nc-update-nextcloud.sh index 7ae50453..1ac83a2c 100644 --- a/etc/ncp-config.d/nc-update-nextcloud.sh +++ b/etc/ncp-config.d/nc-update-nextcloud.sh @@ -9,10 +9,13 @@ # VERSION_=14.0.1 +LATEST=14.0.1 DESCRIPTION="Update current instance to a new Nextcloud version" +INFO="Set to 0 to update to the latest avaliable version" configure() { + [[ "$VERSION_" == "0" ]] && VERSION_="$LATEST" bash /usr/local/bin/ncp-update-nc "$VERSION_" } |