1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nextcloud_ynh.git synced 2024-09-03 19:55:57 +02:00

Fix again upgrade ending with Nextcloud being in PHP 8.2 ?

This commit is contained in:
Alexandre Aubin 2024-06-27 11:35:00 +02:00
parent 88fbb734c8
commit f7c21e467e

View file

@ -39,7 +39,7 @@ filter_boring_occ_warnings() {
# Define a function to execute commands with `occ` # Define a function to execute commands with `occ`
exec_occ() { exec_occ() {
# Backward compatibility to upgrade from older versions # Backward compatibility to upgrade from older versions
if [ $current_major_version = "last" ] if [ $current_major_version = "$last_major_version" ]
then then
NEXTCLOUD_PHP_VERSION="8.3" NEXTCLOUD_PHP_VERSION="8.3"
elif [ $current_major_version -ge 26 ] elif [ $current_major_version -ge 26 ]