diff --git a/scripts/_common.sh b/scripts/_common.sh index b95ce9c..ba6c851 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -20,8 +20,7 @@ final_path=/opt/yunohost/$app log_path=/var/log/$app log_file="${log_path}/django_example_ynh.log" -# XXX: Is this okay? -adminmail="${admin}@${domain}" +adminmail=$(ynh_user_get_info --username=$admin --key=mail) # Default: settings.DEBUG=False django_debug="False"