From 2d794a8385842a5f8f451463a66fd7ab28ba60b1 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Wed, 17 Jul 2024 13:27:50 +0100 Subject: [PATCH] trees: also remove single-tree repo/p/ single-tree repos were not previously cached, but now they are and they have to be handled. this, as also alluded to in the previous commit, is done when preparing release archives (XBMK_RELEASE=y) Signed-off-by: Leah Rowe --- script/trees | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/script/trees b/script/trees index 873c4c7..c31152f 100755 --- a/script/trees +++ b/script/trees @@ -38,8 +38,7 @@ main() [ -z "$_f" ] && $err "missing flag (-m/-u/-b/-c/-x/-f/-s/-l/-n)" [ -z "$project" ] && for p in $(ls -1 config/git); do ./update trees $_f "$p" || $err "!./update trees $_f $p" - [ "$XBMK_RELEASE" != "y" ] || singletree "$p" || \ - x_ rm -Rf "repo/$p"; continue + [ "$XBMK_RELEASE" != "y" ] || x_ rm -Rf "repo/$p"; continue done && return 1 [ -f "config/git/$project/pkg.cfg" ] || $err "'$project' not defined"