diff --git a/scripts/install b/scripts/install index 8c839ed..bb14c9b 100644 --- a/scripts/install +++ b/scripts/install @@ -195,8 +195,9 @@ ynh_systemd_action --service_name=nginx --action=reload #================================================= ynh_print_info --message="Sending a readme for the admin..." -ynh_add_config --template="$domain" --destination="../conf/message" -ynh_add_config --template="$path_url" --destination="../conf/message" + +ynh_replace_string --match_string="__DOMAIN__" --replace_string="$domain" --target_file="../conf/message" +ynh_replace_string --match_string="__PATH_URL__" --replace_string="$path_url" --target_file="../conf/message" ynh_send_readme_to_admin --app_message="../conf/message"