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 2024-06-20 14:59:45 +02:00
parent 73a3f0d699
commit 36cd0dc73d

View file

@ -19,10 +19,10 @@ if [ -z "${phpflags:-}" ]; then
ynh_app_setting_set --app=$app --key=phpflags --value="$phpflags" ynh_app_setting_set --app=$app --key=phpflags --value="$phpflags"
fi fi
if ynh_compare_current_package_version --comparison lt --version 22.2~ynh1 #if ynh_compare_current_package_version --comparison lt --version 22.2~ynh1
then #then
ynh_die --message="Upgrading from Nextcloud < 22.2 is not supported anymore. You should first upgrade to 22.2 using: yunohost app upgrade nextcloud -u https://github.com/YunoHost-Apps/nextcloud_ynh/tree/41f5f902e7c7cd3c30a6793020562ba98b9bf3e9" # ynh_die --message="Upgrading from Nextcloud < 22.2 is not supported anymore. You should first upgrade to 22.2 using: yunohost app upgrade nextcloud -u https://github.com/YunoHost-Apps/nextcloud_ynh/tree/41f5f902e7c7cd3c30a6793020562ba98b9bf3e9"
fi #fi
#================================================= #=================================================
# SPECIFIC UPGRADE # SPECIFIC UPGRADE