From 76280be8444cb8367212c388ff51a5732cc81f15 Mon Sep 17 00:00:00 2001 From: Ze'ev Schurmann Date: Tue, 6 May 2025 23:40:27 +0200 Subject: [PATCH] v1.1 --- debian-installer.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian-installer.sh b/debian-installer.sh index 0822364..a10e97b 100644 --- a/debian-installer.sh +++ b/debian-installer.sh @@ -1101,10 +1101,10 @@ if [[ $p -lt 3 ]]; then NEWVERSION=$(curl -sSL "https://git.zaks.web.za/thisiszeev/perfect-nextcloud-installer/raw/branch/main/VERSION") if [[ ! "$NEWVERSION" =~ ^[0-9]+(\.[0-9]+)*$ ]]; then echo "Remote version could not be retrieved." >&2 - NEWVERSION="$VERSION" + NEWVERSION="$INSTALLERVERSION" fi fi - if compareVersions "$VERSION" "$NEWVERSION" || [[ $SELF_UPDATED == 1 ]]; then + if compareVersions "$INSTALLERVERSION" "$NEWVERSION" || [[ $SELF_UPDATED == 1 ]]; then downloadUpdate fi fi