move above version check

This commit is contained in:
Daniel Hansson 2022-01-29 12:06:10 +01:00 committed by GitHub
parent 73714bbb84
commit 54dce3344c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -747,6 +747,10 @@ https://shop.hanssonit.se/product/upgrade-between-major-owncloud-nextcloud-versi
exit 1
fi
# Fix remaining bug in NC 23.0.1
git_apply_patch 30890 server 23.0.0
git_apply_patch 30890 server 23.0.1
# Check if new version is larger than current version installed. Skip version check if you want to upgrade to a prerelease.
if [ -z "$PRERELEASE_VERSION" ]
then
@ -779,10 +783,6 @@ then
exit
fi
# Fix remaining bug in NC 23.0.1
git_apply_patch 30890 server 23.0.0
git_apply_patch 30890 server 23.0.1
# Check if PHP version is compatible with $NCVERSION
PHP_VER=71
NC_VER=16