mirror of
https://github.com/YunoHost-Apps/cryptpad_ynh.git
synced 2024-09-03 18:26:14 +02:00
Update scripts/upgrade
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
This commit is contained in:
parent
2f1266ffa8
commit
fea5f79683
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ ynh_script_progression --message="Setting up sandobx domain: $sandboxdomain" --w
|
|||
# We don't test that in CI
|
||||
if ! [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then
|
||||
# If sandboxdomain doesn't exist, create it
|
||||
if yunohost domain list --output-as json | jq .domains[] | tr -d '"' | grep -q "$sandboxdomain" != "$sandboxdomain"; then
|
||||
if ! yunohost domain list --output-as json | jq -r .domains[] | grep -q "^$sandboxdomain\$"; then
|
||||
yunohost domain add $sandboxdomain
|
||||
yunohost domain config set $sandboxdomain -a "mail_in=0&mail_out=0"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue