From 3d61def3082c2a4c3d17a91c276e622aee37f9c3 Mon Sep 17 00:00:00 2001 From: tschettervictor <85497460+tschettervictor@users.noreply.github.com> Date: Tue, 2 Dec 2025 11:44:43 -0700 Subject: [PATCH] bootstrap: also rm directories --- usr/local/share/bastille/bootstrap.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr/local/share/bastille/bootstrap.sh b/usr/local/share/bastille/bootstrap.sh index 5b55fb08..1e9629c9 100644 --- a/usr/local/share/bastille/bootstrap.sh +++ b/usr/local/share/bastille/bootstrap.sh @@ -177,7 +177,8 @@ cleanup_directories() { zfs destroy "${bastille_zfs_zpool:?}/${bastille_zfs_prefix:?}/releases/${RELEASE}" fi fi - elif [ -d "${bastille_cachedir}/${RELEASE}" ]; then + fi + if [ -d "${bastille_cachedir}/${RELEASE}" ]; then if [ -d "${bastille_cachedir}/${RELEASE}" ]; then rm -rf "${bastille_cachedir:?}/${RELEASE}" fi