diff --git a/scripts/upgrade b/scripts/upgrade index 2d389b6..48e0aa7 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -159,7 +159,7 @@ config="${final_path}/lstu.conf" ynh_backup_if_checksum_is_different --file="$config" cp ../conf/lstu.conf.template "$config" ynh_replace_string --match_string="__DOMAIN__" --replace_string="$domain" --target_file="$config" -ynh_replace_string --match_string="__PATH__" --replace_string="$path_url" --target_file="$configf" +ynh_replace_string --match_string="__PATH__" --replace_string="$path_url" --target_file="$config" ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="$config" ynh_replace_string --match_string="__DB_NAME__" --replace_string="$db_name" --target_file="$config" ynh_replace_string --match_string="__DB_USER__" --replace_string="$db_user" --target_file="$config"