From 6203a20a802c92b31b57cd58893e0594287422bc Mon Sep 17 00:00:00 2001 From: DDATAA <45762540+Ddataa@users.noreply.github.com> Date: Tue, 18 Oct 2022 15:55:12 +0000 Subject: [PATCH] Update install --- scripts/install | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 483ea21..12c3a59 100644 --- a/scripts/install +++ b/scripts/install @@ -54,9 +54,11 @@ ynh_app_setting_set --app=$app --key=admin --value=$admin #================================================= # CHECK IF THE SANDBOX DOMAIN IS ALREADY SETUP WITH CORRECT CERTIFICATE #================================================= -if ! yunohost domain cert status $domain | grep -q "summary: Great!"; then - ynh_die "The domain $domain does not have correct Let's Encrypt certificates !" -fi +# We don't test that in CI +if ! [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then + if ! yunohost domain cert status $domain | grep -q "summary: Great!"; then + ynh_die "The domain $domain does not have correct Let's Encrypt certificates !" +fi fi #================================================= # STANDARD MODIFICATIONS