From 859b7dabc51c2a0503e6cb2ca24b6e66f2ae1dc7 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sat, 24 Sep 2022 19:52:09 +0200 Subject: [PATCH] Fix #140 --- scripts/upgrade | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index 6042070..60d4cc8 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -248,6 +248,8 @@ ynh_script_progression --message="Updating a configuration file..." config="/etc/$app/config.exs" ynh_backup_if_checksum_is_different --file="$config" +ynh_replace_string --match_string="adapter: Bamboo.SMTPAdapter," --replace_string="adapter: Swoosh.Adapters.SMTP," --target_file="$config" +ynh_replace_string --match_string="server: \"127.0.0.1\"," --replace_string="relay: \"127.0.0.1\"," --target_file="$config" ynh_store_file_checksum --file="$config" chmod 400 "$config"