From 28fa1db589919f6c3ec9f91d5d524570244e22e4 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 29 Jan 2021 13:39:50 +0100 Subject: [PATCH] Update change_url --- scripts/change_url | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/change_url b/scripts/change_url index 7266200..364c8bc 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -106,9 +106,10 @@ cp -a ../conf/.env.example $final_path/.env ynh_replace_string --match_string="__DB_NAME__" --replace_string="$db_name" --target_file="$final_path/.env" ynh_replace_string --match_string="__DB_PWD__" --replace_string="$db_pwd" --target_file="$final_path/.env" -ynh_replace_string --match_string="__DOMAIN__" --replace_string="$new_domain" --target_file="$final_path/.env" -ynh_replace_string --match_string="__PATH__" --replace_string="$new_path" --target_file="$final_path/.env" +ynh_replace_string --match_string="__DOMAIN__" --replace_string="$domain" --target_file="$final_path/.env" +ynh_replace_string --match_string="__PATH__" --replace_string="$path_url" --target_file="$final_path/.env" ynh_replace_string --match_string="__LANGUAGE__" --replace_string="$language" --target_file="$final_path/.env" +ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="$final_path/.env" ynh_store_file_checksum $final_path/.env