diff options
-rwxr-xr-x | bin/ncp-config | 4 | ||||
-rw-r--r-- | changelog.md | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/bin/ncp-config b/bin/ncp-config index f3ed02c9..fea145ae 100755 --- a/bin/ncp-config +++ b/bin/ncp-config @@ -15,13 +15,13 @@ BINDIR=/usr/local/bin/ncp source /usr/local/etc/library.sh { - latest_ver="$(cat /var/run/.ncp-latest-version)" - ncpversion="$(cat /usr/local/etc/ncp-version )" + ncpversion="$(cat /usr/local/etc/ncp-version)" chlogfile=/usr/local/etc/ncp-changelog # ask for update if outdated ncp-test-updates 2>/dev/null && { [[ -f "$chlogfile" ]] && changelog=$( head -4 "$chlogfile" ) + latest_ver="$(cat /var/run/.ncp-latest-version 2>/dev/null)" whiptail --backtitle "$backtitle $ncpversion" \ --title "NextCloudPi update available" \ --clear --yesno "Update to $latest_ver?\n\n$changelog" \ diff --git a/changelog.md b/changelog.md index 8b1475fa..e531bb9f 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,7 @@ -[v1.39.19](https://github.com/nextcloud/nextcloudpi/commit/92bec43) (2021-09-30) ncp-web: fix upload from local file path +[v1.39.20](https://github.com/nextcloud/nextcloudpi/commit/7188050) (2021-10-04) ncp-config: fix first time error with no known latest version + +[v1.39.19](https://github.com/nextcloud/nextcloudpi/commit/05f0d35) (2021-09-30) ncp-web: fix upload from local file path [v1.39.18](https://github.com/nextcloud/nextcloudpi/commit/f1c90f5) (2021-09-30) nc-httpsonly: always use overwriteprotocol https in all cases |