Get the latest version again (#2602)

Signed-off-by: Daniel Hansson <mailto@danielhansson.nu>
This commit is contained in:
Daniel Hansson 2023-12-17 18:13:03 +01:00 committed by GitHub
parent 1a8408e6cb
commit 1f5340d666
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

6
lib.sh
View File

@ -1554,10 +1554,8 @@ fi
# Check new version
# shellcheck source=lib.sh
if [ -z "$NCVERSION" ]
then
nc_update
fi
source /var/scripts/fetch_lib.sh
nc_update
if [ "${CURRENTVERSION%%.*}" -ge "$1" ]
then
sleep 1