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:
authorNathan Acks <necopinus@users.noreply.github.com>2019-01-26 02:48:26 +0300
committernachoparker <nacho@ownyourbits.com>2019-01-26 02:46:04 +0300
commitffc1fa50ea8432c9d72dad44a8c895359bf50649 (patch)
tree24b4a1238fd00cc74dc62089e5c938993bd5334d
parentb338ede59fd639e9bb4a1e63d163f526daaa9b67 (diff)
ncp-config: fix local variablesv1.4.7
-rwxr-xr-xbin/ncp-config8
-rw-r--r--changelog.md4
2 files changed, 7 insertions, 5 deletions
diff --git a/bin/ncp-config b/bin/ncp-config
index fd8a4ab2..f3ed02c9 100755
--- a/bin/ncp-config
+++ b/bin/ncp-config
@@ -15,12 +15,12 @@ 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
+ latest_ver="$(cat /var/run/.ncp-latest-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" ]] && local changelog=$( head -4 "$chlogfile" )
+ [[ -f "$chlogfile" ]] && changelog=$( head -4 "$chlogfile" )
whiptail --backtitle "$backtitle $ncpversion" \
--title "NextCloudPi update available" \
diff --git a/changelog.md b/changelog.md
index dc47e11b..63be8ad8 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,5 +1,7 @@
-[v1.4.6](https://github.com/nextcloud/nextcloudpi/commit/d1a3e18) (2019-01-24) ncp-config: fix missing variable
+[v1.4.7](https://github.com/nextcloud/nextcloudpi/commit/5d6dd2e) (2019-01-25) ncp-config: fix local variables
+
+[v1.4.6](https://github.com/nextcloud/nextcloudpi/commit/b338ede) (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)