From 4438368c0cc0a0a8d16de8f7fab78c777c21ca1b Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Wed, 17 Jul 2024 13:27:50 +0100 Subject: 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 873c4c7c..c31152fb 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" -- cgit v1.2.1