From d0cb031a22da6a39c29539af55bb4db7ce148d3d Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Tue, 28 Dec 2021 11:45:46 +0700 Subject: [PATCH] sqg: remove all queues when using -a. Signed-off-by: Willy Sudiarto Raharjo --- src/usr/libexec/sbopkg/sqg/functions | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/usr/libexec/sbopkg/sqg/functions b/src/usr/libexec/sbopkg/sqg/functions index 9a471fc..63414ff 100644 --- a/src/usr/libexec/sbopkg/sqg/functions +++ b/src/usr/libexec/sbopkg/sqg/functions @@ -216,6 +216,7 @@ execute_build () { local PKG INFOPATH if [ "$ALL" == "yes" ]; then + rm -f $QUEUEDIR/*.sqf printf "Processing all SlackBuilds in the $REPO_SUBPATH repository..." PKGSNEW=($(find "$REPO_DIR" -name "*.info" -print0 | xargs -r0)) else @@ -257,4 +258,4 @@ check_validity() { else return 1 fi -} \ No newline at end of file +}