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

Update upgrade

This commit is contained in:
Éric Gaspar 2023-06-05 09:11:01 +02:00
parent 7bb2b481eb
commit f7b53b1bb7

View file

@ -211,7 +211,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 25 ]
if [ $current_major_version = "last" ] || [ $current_major_version -ge 24 ]
then
NEXTCLOUD_PHP_VERSION=$phpversion
elif [ $current_major_version -ge 15 ]