From 6e2ed9da1213c2223d5fbf20a6236cb110d6f705 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 17 Aug 2021 16:04:07 +0200 Subject: [PATCH] Update change_url --- scripts/change_url | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/change_url b/scripts/change_url index c9ced12..2bbcf8d 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -105,7 +105,7 @@ ynh_script_progression --message="Updating a configuration file..." --weight=1 domain=$new_domain path_url=$new_path -ynh_replace_string --match_string="\$CFG->wwwroot = '.*'" --replace_string="\$CFG->wwwroot = 'https://${domain}${path_url%/}';" --target_file="$final_path/config.php" +ynh_replace_string --match_string="\$CFG->wwwroot = '.*';" --replace_string="\$CFG->wwwroot = 'https://${domain}${path_url%/}';" --target_file="$final_path/config.php" #================================================= # END OF SCRIPT