From 0a3097ef9e397ad8f8306cf9aa117b8fb5750cfc Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Thu, 14 Sep 2023 10:54:39 +0200 Subject: [PATCH] Fix upgrade, we don't need that "email" variable which can't be defined if $admin doesnt exists --- scripts/upgrade | 7 ------- 1 file changed, 7 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index cab1ad3..8285423 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -9,13 +9,6 @@ source _common.sh source /usr/share/yunohost/helpers -#================================================= -# LOAD SETTINGS -#================================================= -ynh_script_progression --message="Loading installation settings..." --weight=2 - -email=$(ynh_user_get_info --username=$admin --key=mail) - #================================================= # CHECK VERSION #=================================================