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

Update upgrade

This commit is contained in:
DDATAA 2023-03-03 22:45:45 +00:00 committed by GitHub
parent 4d96a4c5f4
commit 4c63efd4bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -123,7 +123,7 @@ ynh_script_progression --message="Setting up sandobx domain: $sandboxdomain" --w
# We don't test that in CI # We don't test that in CI
if ! [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then if ! [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then
# If sandboxdomain doesn't exist, create it # If sandboxdomain doesn't exist, create it
if yunohost domain list --output-as json | jq .domains[] | tr -d '"' | grep "$sandboxdomain" != "$sandboxdomain"; then if yunohost domain list --output-as json | jq .domains[] | tr -d '"' | grep -q "$sandboxdomain" != "$sandboxdomain"; then
yunohost domain add $sandboxdomain yunohost domain add $sandboxdomain
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