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-20 13:27:25 +00:00 committed by GitHub
parent 2789aa326b
commit 181fa60460
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -82,6 +82,8 @@ sandboxdomain=sandbox-$domain
#=================================================
# CHECK IF CRYPTAD_SANDBOX IS INSTALLED, IF NOT INSTALL IT
#=================================================
# We don't test that in CI
if ! [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then
ynh_script_progression --message="Installing Cryptpad Sandboxing App if needed..." --weight=18
if ! yunohost app list | grep -q "id: cryptpad_sandboxing"; then
@ -99,6 +101,7 @@ if ! yunohost app list | grep -q "id: cryptpad_sandboxing"; then
yunohost app install https://github.com/Ddataa/cryptpad_sandboxing_ynh/tree/testing --force --args "domain=$sandboxdomain&porti=$porti&cryptpad_domain=$domain&is_$public=false"
fi
fi
fi
#=================================================
# INSTALL DEPENDENCIES