diff --git a/scripts/upgrade b/scripts/upgrade index de647c5..c3b9f01 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -53,6 +53,12 @@ ynh_systemd_action --service_name="$app" --action="stop" --line_match="Stopped" #================================================= ynh_script_progression --message="Ensuring downward compatibility..." +# Upgrade from <=0.6.6~ynh1: +if ynh_compare_current_package_version --comparison le --version 0.6.6~ynh1 +then + rm /etc/"$app"/config.d/server.toml +fi + #================================================= # CREATE DEDICATED USER #=================================================