From 2571691fac74bfdd00ec44cc121f8257559a8fc0 Mon Sep 17 00:00:00 2001 From: Tobias Ollive Date: Sat, 1 Jan 2022 15:22:01 +0100 Subject: [PATCH] change pattern to match --- scripts/change_url | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/change_url b/scripts/change_url index b553134..feaf25f 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -109,7 +109,7 @@ 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="--baseurl=$old_path" --replace_string="--baseurl=$new_path" --target_file="/etc/systemd/system/$app.service" systemctl daemon-reload fi