From 13e0607419d7ccee9b1e8ac44f3f0e00602e6f5b Mon Sep 17 00:00:00 2001 From: Tobias Ollive Date: Thu, 30 Dec 2021 08:52:53 +0100 Subject: [PATCH] fix parameter error --- scripts/change_url | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/change_url b/scripts/change_url index 1741c14..fe0d0e1 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -105,9 +105,11 @@ fi #================================================= # CHANGE SYSTEMD SERVICE #================================================= +ynh_script_progression --message="Updating systemd configuration..." --weight=1 + if [ $change_path -eq 1 ] then - ynh_replace_string --match-string=$old_path --replace-string=$new_path --target-file="/etc/systemd/system/$app.service" + ynh_replace_string --match_string=$old_path --replace_string=$new_path --target_file="/etc/systemd/system/$app.service" fi #=================================================