diff --git a/bin/ncp-config b/bin/ncp-config index e3af29119..fd8a4ab2c 100755 --- a/bin/ncp-config +++ b/bin/ncp-config @@ -15,6 +15,9 @@ BINDIR=/usr/local/bin/ncp source /usr/local/etc/library.sh { + local latest_ver="$(cat /var/run/.ncp-latest-version)" + local ncpversion="$(cat /usr/local/etc/ncp-version )" + local chlogfile=/usr/local/etc/ncp-changelog # ask for update if outdated ncp-test-updates 2>/dev/null && { [[ -f "$chlogfile" ]] && local changelog=$( head -4 "$chlogfile" ) @@ -57,10 +60,8 @@ function config_menu() { local dir="$1" local backtitle="NextCloudPi configuration ver. " - local latest_ver="$(cat /var/run/.ncp-latest-version)" local ncpversion="$(cat /usr/local/etc/ncp-version )" local cfgdir=/usr/local/etc/ncp-config.d - local chlogfile=/usr/local/etc/ncp-changelog local dialog_ok=0 local desc cfg ncp_app diff --git a/changelog.md b/changelog.md index 318ef748d..dc47e11b3 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,7 @@ -[v1.4.5](https://github.com/nextcloud/nextcloudpi/commit/44ca547) (2019-01-22) armbian: fix cron permissions bug (2) +[v1.4.6](https://github.com/nextcloud/nextcloudpi/commit/d1a3e18) (2019-01-24) ncp-config: fix missing variable + +[v1.4.5 ](https://github.com/nextcloud/nextcloudpi/commit/b7efa7a) (2019-01-22) armbian: fix cron permissions bug (2) [v1.4.4 ](https://github.com/nextcloud/nextcloudpi/commit/af426a5) (2019-01-22) armbian: fix cron permissions bug