diff options
author | Dave Woodfall <dave@slackbuilds.org> | 2021-03-20 09:41:43 +0000 |
---|---|---|
committer | Dave Woodfall <dave@slackbuilds.org> | 2021-03-20 18:56:53 +0000 |
commit | 3d99ab68d36a5e0fedd55f161392e45a30247849 (patch) | |
tree | 16e4ed350c3a7083eea91671e71ce2cb83cb8abb /files | |
parent | 05e40b5d2f2460352cd9e027a9dfabd3e42a636f (diff) | |
download | slackpkg-3d99ab68d36a5e0fedd55f161392e45a30247849.tar.xz |
Improve search blacklisting.
Diffstat (limited to 'files')
-rw-r--r-- | files/core-functions.sh | 8 |
1 files changed, 0 insertions, 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 ) |