Improve search blacklisting.

This commit is contained in:
Dave Woodfall 2021-03-20 09:41:43 +00:00
parent 05e40b5d2f
commit 3d99ab68d3

View file

@ -784,9 +784,6 @@ function makelist() {
else
for i in ${PRIORITY[@]}; do
# Test for search pattern in blacklist first
grep -q "^${PATTERN}$" ${TMPDIR}/blacklist && continue
PKGS=$( cut -d\ -f1-7 ${TMPDIR}/pkglist |
grep "^${i}.*${PATTERN}" | cut -f6 -d\ )
@ -800,11 +797,6 @@ function makelist() {
done
fi
rm -f $PKGNAMELIST
rm ${TMPDIR}/waiting
echo -e "DONE\n"
# We need to return early before the blacklist
return
;;
esac
LIST=$( printf "%s\n" $LIST | applyblacklist | uniq )