From fd7d0bb695e6182d3be929f91477d885556bf101 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 26 Oct 2020 18:06:08 +0100 Subject: [PATCH] Validate that there's an email address for the admin user --- scripts/install | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/install b/scripts/install index bdd81a3..33272bc 100644 --- a/scripts/install +++ b/scripts/install @@ -45,6 +45,8 @@ test ! -e "$final_path" || ynh_die --message="This path already contains a folde # Register (book) web path ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url +[ -n "$admin_email" ] || ynh_die --message="Did not found the email address for the admin user ?" + #================================================= # STORE SETTINGS FROM MANIFEST #=================================================