From 8bdf97a8f9b229fe771afb2cb6480de76ac970d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Wed, 10 Jun 2020 15:37:29 +0200 Subject: [PATCH] Add a step in change_url --- scripts/change_url | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/change_url b/scripts/change_url index d8bcec8..f5126a6 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -71,6 +71,8 @@ fi #================================================= # SET NEW URL #================================================= +ynh_script_progression --message="Setting the new URL..." --weight=1 + if [ $change_domain -eq 1 ] then ynh_replace_string --match_string="\$wgServer = \"https://$old_domain\";" --replace_string="\$wgServer = \"https://$new_domain\";" --target_file="$final_path/LocalSettings.php" @@ -91,7 +93,7 @@ then fi ynh_replace_string --match_string="\$wgScriptPath = \"$old_scriptpath\";" --replace_string="\$wgScriptPath = \"$new_scriptpath\";" --target_file="$final_path/LocalSettings.php" -fi +fi #================================================= # RELOAD NGINX