From 950aa01064f75838f3ba167b04a24a4ef3bf1f0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 21 Dec 2023 14:02:48 +0100 Subject: [PATCH] Update remove --- scripts/remove | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/remove b/scripts/remove index b8c65e8..c2e202f 100644 --- a/scripts/remove +++ b/scripts/remove @@ -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