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>2021-10-04 21:29:49 +0300
committernachoparker <nacho@ownyourbits.com>2021-10-04 21:29:55 +0300
commit714c3e5fa749cfce9bead2e29700dd381dc07441 (patch)
treeb3d7a951b8057ed7ae23b4cdd9addf5ef087cb05
parent05f0d352cf228518d6333a375e89ca30d645ebfb (diff)
ncp-config: fix first time error with no known latest versionv1.39.20
Signed-off-by: nachoparker <nacho@ownyourbits.com>
-rwxr-xr-xbin/ncp-config4
-rw-r--r--changelog.md4
2 files changed, 5 insertions, 3 deletions
diff --git a/bin/ncp-config b/bin/ncp-config
index f3ed02c9..fea145ae 100755
--- a/bin/ncp-config
+++ b/bin/ncp-config
@@ -15,13 +15,13 @@ BINDIR=/usr/local/bin/ncp
source /usr/local/etc/library.sh
{
- latest_ver="$(cat /var/run/.ncp-latest-version)"
- ncpversion="$(cat /usr/local/etc/ncp-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" ]] && changelog=$( head -4 "$chlogfile" )
+ latest_ver="$(cat /var/run/.ncp-latest-version 2>/dev/null)"
whiptail --backtitle "$backtitle $ncpversion" \
--title "NextCloudPi update available" \
--clear --yesno "Update to $latest_ver?\n\n$changelog" \
diff --git a/changelog.md b/changelog.md
index 8b1475fa..e531bb9f 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,5 +1,7 @@
-[v1.39.19](https://github.com/nextcloud/nextcloudpi/commit/92bec43) (2021-09-30) ncp-web: fix upload from local file path
+[v1.39.20](https://github.com/nextcloud/nextcloudpi/commit/7188050) (2021-10-04) ncp-config: fix first time error with no known latest version
+
+[v1.39.19](https://github.com/nextcloud/nextcloudpi/commit/05f0d35) (2021-09-30) ncp-web: fix upload from local file path
[v1.39.18](https://github.com/nextcloud/nextcloudpi/commit/f1c90f5) (2021-09-30) nc-httpsonly: always use overwriteprotocol https in all cases