mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
Fix backward upgrade compatibility
This commit is contained in:
parent
d94b85cbf5
commit
f86b5b78b4
1 changed files with 1 additions and 1 deletions
|
@ -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 ]
|
||||
|
|
Loading…
Add table
Reference in a new issue