sqg: remove all queues when using -a.

Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
This commit is contained in:
Willy Sudiarto Raharjo 2021-12-28 11:45:46 +07:00
parent d60a39c054
commit d0cb031a22
No known key found for this signature in database
GPG Key ID: 3F617144D7238786

View File

@ -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
}
}