From fc10e1cfa2a784857631d1a630be8d70b28740f6 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Thu, 11 Jul 2019 20:00:48 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 122f748..4f4003c 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -65,9 +65,9 @@ ynh_clean_setup () { ynh_abort_if_errors #================================================= -# MANAGE UPGRADE +# MANAGE UPGRADE FROM PREVIOUS VERSION #================================================= -ynh_print_info --message="Ensuring downward compatibility..." +ynh_print_info --message="Managing upgrade from previous version..." if ynh_version_gt "0.45-2" "${previous_version}" ; then ynh_replace_string --match_string="Environment=ROOT_URL=http://127.0.0.1:$port$path_url" --replace_string="Environment=ROOT_URL=https://$domain$path_url/" --target_file="/etc/systemd/system/$app.service"