From 41b30c5a30c8f9fc8cc9d943789c51f1fd8d85df Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Tue, 13 Feb 2024 10:20:09 +0100 Subject: [PATCH] Update upgrade --- scripts/upgrade | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index d7f5dd1..92d05af 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -16,6 +16,9 @@ ynh_script_progression --message="Checking version..." upgrade_type=$(ynh_check_app_version_changed) +# Retrieve YunoHost main domain for mails to work +main_domain=$(cat /etc/yunohost/current_host) + #================================================= # STANDARD UPGRADE STEPS #=================================================