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

Update remove

This commit is contained in:
Éric Gaspar 2023-12-21 14:02:48 +01:00
parent 6e0beec7e5
commit 950aa01064

View file

@ -51,9 +51,9 @@ if ! [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then
ynh_script_progression --message="Removing sandbox domain: $sandboxdomain" --weight=1
if yunohost domain list | grep -q $sandboxdomain
then #if domain exist we remove it
then # if domain exist we remove it
yunohost domain remove $sandboxdomain
# we clean the nginx configuration we added
# we clean the NGINX configuration we added
ynh_secure_remove --file="/etc/nginx/conf.d/$sandboxdomain.d/"
fi
fi