mirror of
https://github.com/rworkman/slackpkg
synced 2024-11-15 19:47:54 +01:00
Improve search blacklisting.
This commit is contained in:
parent
05e40b5d2f
commit
3d99ab68d3
1 changed files with 0 additions and 8 deletions
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue