From c55d2e5a53698787141dc37daa29ad207b2f7f8f Mon Sep 17 00:00:00 2001 From: DDATAA <45762540+Ddataa@users.noreply.github.com> Date: Wed, 2 Nov 2022 15:53:54 +0000 Subject: [PATCH] Update remove --- scripts/remove | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/remove b/scripts/remove index b618a01..d4205e3 100644 --- a/scripts/remove +++ b/scripts/remove @@ -76,6 +76,8 @@ if ! [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then if yunohost domain list | grep -q $sandboxdomain then #if domain exist we remove it yunohost domain remove $sandboxdomain + # we clean the nginx configuration we added + ynh_secure_remove --file="/etc/nginx/conf.d/$sandboxdomain.d/cryptpad.conf" fi fi