From 7ccf8185b39062afe399f2bdd2b327f5f4460327 Mon Sep 17 00:00:00 2001 From: Serge Schneider Date: Thu, 11 Oct 2018 16:29:31 +0100 Subject: [PATCH] Remove /debootstrap --- scripts/common | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/common b/scripts/common index efd867e..f3b5950 100644 --- a/scripts/common +++ b/scripts/common @@ -18,7 +18,8 @@ bootstrap(){ capsh --drop=cap_setfcap -- "${BOOTSTRAP_CMD}" --components=main,contrib,non-free \ --arch armhf \ --keyring "${STAGE_DIR}/files/raspberrypi.gpg" \ - "$1" "$2" "$3" || rmdir "$2/debootstrap" + "$1" "$2" "$3" || true + rmdir "$2/debootstrap" } export -f bootstrap