From 8a73adc5411009536f50190f6ea5da52bbac332e Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 1 Apr 2021 14:34:41 +0200 Subject: [PATCH] Update install --- scripts/install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index c32aabc..b191bbd 100755 --- a/scripts/install +++ b/scripts/install @@ -227,7 +227,8 @@ ynh_add_config --template="../conf/ice-servers.json" --destination="$final_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 #=================================================