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:
parent
ef35d0f98f
commit
1395fe8f0b
1 changed files with 13 additions and 0 deletions
|
@ -76,6 +76,19 @@ if ! [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then
|
||||||
yunohost domain config set $sandboxdomain -a "mail_in=0&mail_out=0"
|
yunohost domain config set $sandboxdomain -a "mail_in=0&mail_out=0"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# CHECK IF THE MAIN DOMAIN IS ALREADY SETUP WITH CORRECT CERTIFICATE WHEN PUBLIC
|
||||||
|
#=================================================
|
||||||
|
# We don't test that in CI
|
||||||
|
if ! [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then
|
||||||
|
if [ $is_public -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
|
||||||
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# INSTALL DEPENDENCIES
|
# INSTALL DEPENDENCIES
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue