diff --git a/nextcloud_update.sh b/nextcloud_update.sh index 26e16575..a4bae509 100644 --- a/nextcloud_update.sh +++ b/nextcloud_update.sh @@ -310,7 +310,7 @@ fi lowest_compatible_nc 13 # Major versions unsupported -if [ "${CURRENTVERSION%%.*}" == "$NCBAD" ] +if [[ "${CURRENTVERSION%%.*}" -le "$NCBAD" ]] then msg_box "Please note that updates between multiple major versions are unsupported! Your situation is: Current version: $CURRENTVERSION