Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2019-01-25 00:56:41 +0300
committernachoparker <nacho@ownyourbits.com>2019-01-25 00:56:52 +0300
commitb338ede59fd639e9bb4a1e63d163f526daaa9b67 (patch)
tree5721fedfac307167b5bf23d26705d3db5484f1e4
parentb6f7862b6af5df44e253ae3632888e2cfb248e39 (diff)
ncp-config: fix missing variablev1.4.6
-rwxr-xr-xbin/ncp-config5
-rw-r--r--changelog.md4
2 files changed, 6 insertions, 3 deletions
diff --git a/bin/ncp-config b/bin/ncp-config
index e3af2911..fd8a4ab2 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 318ef748..dc47e11b 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