diff --git a/scripts/change_url b/scripts/change_url index cd80a3b..4523b0c 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -115,8 +115,8 @@ ynh_script_progression --message="Modifying a config file..." # Main config File ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="../conf/config.json.example" -ynh_replace_string --match_string="__DOMAIN__" --replace_string="$domain" --target_file="../conf/config.json.example" -ynh_replace_string --match_string="__PATH__" --replace_string="${path_url:1}" --target_file="../conf/config.json.example" +ynh_replace_string --match_string="__DOMAIN__" --replace_string="$new_domain" --target_file="../conf/config.json.example" +ynh_replace_string --match_string="__PATH__" --replace_string="$new_path" --target_file="../conf/config.json.example" ynh_replace_string --match_string="__DB_USER__" --replace_string="$db_user" --target_file="../conf/config.json.example" ynh_replace_string --match_string="__DB_NAME__" --replace_string="$db_name" --target_file="../conf/config.json.example" ynh_replace_string --match_string="__DB_PASS__" --replace_string="$db_pwd" --target_file="../conf/config.json.example"