From 115bb1bdc9ebccce8bcdc2ffff30e0c6683db2c8 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Mon, 5 Aug 2019 04:20:31 +0200 Subject: [PATCH] Fix upgrade --- scripts/upgrade | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 8843332..fa2f250 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -125,10 +125,10 @@ if ynh_version_gt "2.48~ynh1" "${previous_version}" ; then config_file="$final_path/.env" ynh_backup_if_checksum_is_different --file="$config_file" cp "../conf/.env" "$config_file" - ynh_replace_string --match_string="__NODEJS_PATH__" --replace_string="$nodejs_path" --target_file"$config_file" - ynh_replace_string --match_string="__DB_NAME__" --replace_string="$db_name" --target_file"$config_file" - ynh_replace_string --match_string="__DOMAIN_URI__" --replace_string="$domain$path_url" --target_file"$config_file" - ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file"$config_file" + ynh_replace_string --match_string="__NODEJS_PATH__" --replace_string="$nodejs_path" --target_file="$config_file" + ynh_replace_string --match_string="__DB_NAME__" --replace_string="$db_name" --target_file="$config_file" + ynh_replace_string --match_string="__DOMAIN_URI__" --replace_string="$domain$path_url" --target_file="$config_file" + ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="$config_file" ynh_store_file_checksum "$config_file" fi