From 79be83cfbf09982c1207237bea38cfa9c7cb4570 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 12 Jun 2021 13:55:33 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index 0d3f75a..2af5ed1 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -20,6 +20,11 @@ domain=$(ynh_app_setting_get --app=$app --key=domain) path_url=$(ynh_app_setting_get --app=$app --key=path) final_path=$(ynh_app_setting_get --app=$app --key=final_path) phpversion=$(ynh_app_setting_get --app=$app --key=phpversion) +#================================================= +# CHECK VERSION +#================================================= + +upgrade_type=$(ynh_check_app_version_changed) #================================================= # BACKUP BEFORE UPGRADE THEN ACTIVE TRAP