From 7248db6bca6f806eb22f18c773521d36c0504590 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 25 Mar 2024 20:03:02 +0100 Subject: [PATCH] remove --- cd-bootstrap.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cd-bootstrap.sh b/cd-bootstrap.sh index 310546c..366e2f4 100755 --- a/cd-bootstrap.sh +++ b/cd-bootstrap.sh @@ -37,4 +37,8 @@ echo "${SERVER} ssh-${KEY_ALGORITHM} ${KEY_PUBLIC}" \ || exit # packages -apt-get install --yes "${PACKAGES[@]}" +apt-get install --yes "${PACKAGES[@]}" \ +|| exit + +# remove +rm --force --recursive "${ROOT}"