mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-10 15:12:01 -03:30
ncp-config: fix local variables
This commit is contained in:
parent
b338ede59f
commit
ffc1fa50ea
@ -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" \
|
||||
|
||||
@ -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)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user