From 068ebaa75d17ff0e5578d06a2f8e17557c9413b7 Mon Sep 17 00:00:00 2001 From: Robles Rodolphe Date: Thu, 9 Apr 2020 17:48:08 +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 a53c0ac..027cc57 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -68,7 +68,7 @@ then 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 +elif ynh_replace_string --match_string="const WWW_URI = '$old_path/';" --replace_string="const WWW_URI = '$new_path/';" --target_file="$final_path/config.local.php" fi fi