diff --git a/scripts/upgrade b/scripts/upgrade index 5295e31..d3a65e1 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -25,6 +25,11 @@ port=$(ynh_app_setting_get --app=$app --key=port) turn_port=$(ynh_app_setting_get --app=$app --key=turn_port) architecture=$(ynh_detect_arch) +if ynh_compare_current_package_version --comparison le --version 0.3.5~ynh3 +then + ynh_die --message="Please, you need to remove the app and reinstall it" +fi + #================================================= # CHECK VERSION #=================================================