Skip to content

Commit

Permalink
ncp-config: fix missing variable
Browse files Browse the repository at this point in the history
  • Loading branch information
nachoparker committed Jan 24, 2019
1 parent b6f7862 commit b338ede
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 3 additions & 2 deletions bin/ncp-config
Original file line number Diff line number Diff line change
Expand Up @@ -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" )
Expand Down Expand Up @@ -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

Expand Down
4 changes: 3 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit b338ede

Please sign in to comment.