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