From 427221050ae4cae75b2f71a81d6494dc641b69ad Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 1 Apr 2021 17:31:39 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 827ad6c..287ddd2 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -204,7 +204,8 @@ ynh_store_file_checksum --file="$coturn_config_path" # WARNING : theses command are used in INSTALL, UPGRADE # For any update do it in all files -ynh_add_config --template="../sources/Coturn_config_rotate.sh" --destination="$final_path/Coturn_config_rotate.sh" +cp ../sources/Coturn_config_rotate.sh $final_path/Coturn_config_rotate.sh +ynh_replace_string --match_string=__APP__ --replace_string=$app --target_file="$final_path/Coturn_config_rotate.sh" chmod +x $final_path/Coturn_config_rotate.sh #=================================================