mirror of
https://github.com/nextcloud/vm.git
synced 2025-10-26 11:27:32 +00:00
improve version check
This commit is contained in:
parent
62fbdd0888
commit
0cbafda845
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user