From f86b5b78b4b57438cccf015d8292670a2490b6ed Mon Sep 17 00:00:00 2001 From: AlexF Date: Sat, 12 Nov 2022 22:24:57 +0100 Subject: [PATCH] Fix backward upgrade compatibility --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 8763d22..dfbcf73 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -208,7 +208,7 @@ ynh_add_nginx_config # Define a function to execute commands with `occ` exec_occ() { # Backward compatibility to upgrade from older versions - if [ $current_major_version = "last" ] || [ $current_major_version -ge 20 ] + if [ $current_major_version = "last" ] || [ $current_major_version -ge 21 ] then NEXTCLOUD_PHP_VERSION=$phpversion elif [ $current_major_version -ge 15 ]