Skip to content

Commit ffc1fa5

Browse files
necopinusnachoparker
authored andcommitted
ncp-config: fix local variables
1 parent b338ede commit ffc1fa5

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

bin/ncp-config

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ 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
18+
latest_ver="$(cat /var/run/.ncp-latest-version)"
19+
ncpversion="$(cat /usr/local/etc/ncp-version )"
20+
chlogfile=/usr/local/etc/ncp-changelog
2121
# ask for update if outdated
2222
ncp-test-updates 2>/dev/null && {
23-
[[ -f "$chlogfile" ]] && local changelog=$( head -4 "$chlogfile" )
23+
[[ -f "$chlogfile" ]] && changelog=$( head -4 "$chlogfile" )
2424

2525
whiptail --backtitle "$backtitle $ncpversion" \
2626
--title "NextCloudPi update available" \

changelog.md

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

2-
[v1.4.6](https://github.com/nextcloud/nextcloudpi/commit/d1a3e18) (2019-01-24) ncp-config: fix missing variable
2+
[v1.4.7](https://github.com/nextcloud/nextcloudpi/commit/5d6dd2e) (2019-01-25) ncp-config: fix local variables
3+
4+
[v1.4.6](https://github.com/nextcloud/nextcloudpi/commit/b338ede) (2019-01-24) ncp-config: fix missing variable
35

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

0 commit comments

Comments
 (0)