Skip to content

Commit b338ede

Browse files
committed
ncp-config: fix missing variable
1 parent b6f7862 commit b338ede

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

bin/ncp-config

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ BINDIR=/usr/local/bin/ncp
1515

1616
source /usr/local/etc/library.sh
1717
{
18+
local latest_ver="$(cat /var/run/.ncp-latest-version)"
19+
local ncpversion="$(cat /usr/local/etc/ncp-version )"
20+
local chlogfile=/usr/local/etc/ncp-changelog
1821
# ask for update if outdated
1922
ncp-test-updates 2>/dev/null && {
2023
[[ -f "$chlogfile" ]] && local changelog=$( head -4 "$chlogfile" )
@@ -57,10 +60,8 @@ function config_menu()
5760
{
5861
local dir="$1"
5962
local backtitle="NextCloudPi configuration ver. "
60-
local latest_ver="$(cat /var/run/.ncp-latest-version)"
6163
local ncpversion="$(cat /usr/local/etc/ncp-version )"
6264
local cfgdir=/usr/local/etc/ncp-config.d
63-
local chlogfile=/usr/local/etc/ncp-changelog
6465
local dialog_ok=0
6566
local desc cfg ncp_app
6667

changelog.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11

2-
[v1.4.5](https://github.com/nextcloud/nextcloudpi/commit/44ca547) (2019-01-22) armbian: fix cron permissions bug (2)
2+
[v1.4.6](https://github.com/nextcloud/nextcloudpi/commit/d1a3e18) (2019-01-24) ncp-config: fix missing variable
3+
4+
[v1.4.5 ](https://github.com/nextcloud/nextcloudpi/commit/b7efa7a) (2019-01-22) armbian: fix cron permissions bug (2)
35

46
[v1.4.4 ](https://github.com/nextcloud/nextcloudpi/commit/af426a5) (2019-01-22) armbian: fix cron permissions bug
57

0 commit comments

Comments
 (0)