new: implement pool IGNORE option to mp-pool

This commit is contained in:
ngn
2024-08-22 00:08:56 +03:00
parent 98bb94bec1
commit 7b7b386dab
3 changed files with 28 additions and 9 deletions

View File

@ -230,3 +230,11 @@ check_pkg_vars() {
return 0
}
# check if a package should be ignored
should_ignore(){
for i in "${IGNORE[@]}"; do
[ "${i}" == "${1}" ] && return 0
done
return 1
}