From 3d99ab68d36a5e0fedd55f161392e45a30247849 Mon Sep 17 00:00:00 2001 From: Dave Woodfall Date: Sat, 20 Mar 2021 09:41:43 +0000 Subject: [PATCH] Improve search blacklisting. --- files/core-functions.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/files/core-functions.sh b/files/core-functions.sh index 9591d65..e9e3ed6 100644 --- a/files/core-functions.sh +++ b/files/core-functions.sh @@ -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 )