diff --git a/scripts/change_url b/scripts/change_url index d0bd2fd..5d55828 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -9,6 +9,8 @@ source _common.sh source /usr/share/yunohost/helpers +email=$(ynh_user_get_info --username=$admin --key=mail) + #================================================= # MODIFY URL IN NGINX CONF #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 20ed743..dbc226f 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -9,8 +9,6 @@ source _common.sh source /usr/share/yunohost/helpers -email=$(ynh_user_get_info --username=$admin --key=mail) - #================================================= # CHECK VERSION #=================================================