diff --git a/lib.sh b/lib.sh index 7a80124ef7..015bb4d2ed 100644 --- a/lib.sh +++ b/lib.sh @@ -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