From b9f5284ec67faca3617b47eb02ce1edbd67d0803 Mon Sep 17 00:00:00 2001 From: DDATAA <45762540+Ddataa@users.noreply.github.com> Date: Sat, 22 Oct 2022 14:18:29 +0000 Subject: [PATCH] Update remove --- scripts/remove | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/scripts/remove b/scripts/remove index e4844a6..5bcaa1b 100644 --- a/scripts/remove +++ b/scripts/remove @@ -65,11 +65,10 @@ ynh_script_progression --message="Removing dependencies..." --weight=3 ynh_remove_nodejs #================================================= -# REMOVE APP SANDBOXING +# REMOVE SANDBOX DOMAIN #================================================= -if yunohost app list | grep -q "id: cryptpad_sandboxing"; then - yunohost app remove cryptpad_sandboxing -fi +sandboxdomain=sandbox-$domain +yunohost domain remove $sandboxdomain #================================================= # GENERIC FINALIZATION