From 99a8ef6ee8d11baf3ec08df574a404061e21ee93 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 29 Jan 2022 08:20:10 +0100 Subject: [PATCH] Remove replace_string --- scripts/install | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index ada5c47..f46b65b 100644 --- a/scripts/install +++ b/scripts/install @@ -124,7 +124,7 @@ popd #================================================= ynh_script_progression --message="Configuring a systemd service..." --weight=1 -ynh_replace_string --match_string="__ENV_PATH__" --replace_string="$PATH" --target_file="../conf/systemd.service" +env_path="$PATH" ynh_add_systemd_config diff --git a/scripts/upgrade b/scripts/upgrade index 96f7520..678957c 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -126,7 +126,7 @@ fi #================================================= ynh_script_progression --message="Configuring a systemd service..." --weight=2 -ynh_replace_string --match_string="__ENV_PATH__" --replace_string="$PATH" --target_file="../conf/systemd.service" +env_path="$PATH" # Create a dedicated systemd config ynh_add_systemd_config