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:
parent
6e0beec7e5
commit
950aa01064
1 changed files with 2 additions and 2 deletions
|
@ -51,9 +51,9 @@ if ! [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then
|
||||||
ynh_script_progression --message="Removing sandbox domain: $sandboxdomain" --weight=1
|
ynh_script_progression --message="Removing sandbox domain: $sandboxdomain" --weight=1
|
||||||
|
|
||||||
if yunohost domain list | grep -q $sandboxdomain
|
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
|
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/"
|
ynh_secure_remove --file="/etc/nginx/conf.d/$sandboxdomain.d/"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue