diff --git a/scripts/_common.sh b/scripts/_common.sh index b201f9b..49e9b21 100755 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -9,7 +9,6 @@ nodejs_version=20 n8n_version=1.9.3 timezone="$(cat /etc/timezone)" -email=$(ynh_user_get_info --username=$admin --key=mail) #================================================= # PERSONAL HELPERS diff --git a/scripts/change_url b/scripts/change_url index 11fb0a6..3459199 100755 --- 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) + #================================================= # STANDARD MODIFICATIONS #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index b1813cb..f6868af 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -9,6 +9,8 @@ source _common.sh source /usr/share/yunohost/helpers +email=$(ynh_user_get_info --username=$admin --key=mail) + #================================================= # CHECK VERSION #=================================================