1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cryptpad_ynh.git synced 2024-09-03 18:26:14 +02:00

Update install

This commit is contained in:
DDATAA 2022-10-18 15:55:12 +00:00 committed by GitHub
parent 155ef1d446
commit 6203a20a80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 # CHECK IF THE SANDBOX DOMAIN IS ALREADY SETUP WITH CORRECT CERTIFICATE
#================================================= #=================================================
if ! yunohost domain cert status $domain | grep -q "summary: Great!"; then # 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 !" ynh_die "The domain $domain does not have correct Let's Encrypt certificates !"
fi fi fi
#================================================= #=================================================
# STANDARD MODIFICATIONS # STANDARD MODIFICATIONS