From c23f8e2f0d81bb7ac2d5ac99d28963a6eaaa3eca Mon Sep 17 00:00:00 2001 From: Robles Rodolphe Date: Thu, 9 Apr 2020 17:27:51 +0200 Subject: [PATCH] try to debug change_url script --- scripts/change_url | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/change_url b/scripts/change_url index 05d8e7d..f9d0673 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -63,7 +63,7 @@ then # Set global variables for nginx helper domain="$old_domain" path_url="$new_path" -if [ "$new_path" == "/"] +if [ "$new_path" == "/" ] then ynh_replace_string --match_string="const WWW_URI = '$old_path/';" --replace_string="const WWW_URI = '$new_path';" --target_file="$final_path/config.local.php" else