From 22567ec8bf0185ba9fefc412465bdc217f0d16a3 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Mon, 4 Sep 2023 20:06:23 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index 4cfe6f1..054866d 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -16,6 +16,9 @@ source /usr/share/yunohost/helpers admin=$(ynh_user_get_info --username=$admin --key=username) admin_mail=$(ynh_user_get_info --username=$admin --key=mail) +# Retrieve YunoHost main domain +main_domain=$(cat /etc/yunohost/current_host) + #================================================= # CHECK VERSION #=================================================