From aaff07c9e1d24c92322c73a498da245415da3416 Mon Sep 17 00:00:00 2001 From: Jimmy Monin Date: Sun, 23 Jul 2023 13:15:05 +0200 Subject: [PATCH] Fix non empty directory after removal --- scripts/remove | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/remove b/scripts/remove index ff975df..12882ef 100644 --- a/scripts/remove +++ b/scripts/remove @@ -77,6 +77,9 @@ popd # Remove MySQL netdata user ynh_mysql_execute_as_root "drop user 'netdata'@'localhost'; flush privileges;" +# Remove main directory +ynh_secure_remove --file="$final_path" + #================================================= # END OF SCRIPT #=================================================