From 44fd61c63dba88e6645a487ae45304014892dc36 Mon Sep 17 00:00:00 2001 From: shamilbi Date: Wed, 4 Feb 2026 21:41:12 +0200 Subject: [PATCH 1/2] search: ignore case, not apply blacklist --- files/core-functions.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/files/core-functions.sh b/files/core-functions.sh index 25c0d85..50ee1a6 100644 --- a/files/core-functions.sh +++ b/files/core-functions.sh @@ -826,7 +826,7 @@ function makelist() { for i in ${PRIORITY[@]}; do PKGS=$( cut -d\ -f1-7 ${TMPDIR}/pkglist | - grep "^${i}.*${PATTERN}" | cut -f6 -d\ ) + grep -i "^${i}.*${PATTERN}" | cut -f6 -d\ ) for FULLNAME in $PKGS ; do NAME=$(cutpkg ${FULLNAME}) @@ -840,7 +840,11 @@ function makelist() { rm -f $PKGNAMELIST ;; esac - LIST=$( printf "%s\n" $LIST | applyblacklist | sort | uniq ) + if [ "$CMD" = "search" ]; then + LIST=$( printf "%s\n" $LIST | sort | uniq ) + else + LIST=$( printf "%s\n" $LIST | applyblacklist | sort | uniq ) + fi rm ${TMPDIR}/waiting From 5e56ebad09d18c06f358981526171a44fbecd4dd Mon Sep 17 00:00:00 2001 From: shamilbi Date: Fri, 3 Apr 2026 19:31:01 +0200 Subject: [PATCH 2/2] download: not apply blacklist --- files/core-functions.sh | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/files/core-functions.sh b/files/core-functions.sh index 50ee1a6..016b846 100644 --- a/files/core-functions.sh +++ b/files/core-functions.sh @@ -840,11 +840,16 @@ function makelist() { rm -f $PKGNAMELIST ;; esac - if [ "$CMD" = "search" ]; then - LIST=$( printf "%s\n" $LIST | sort | uniq ) - else - LIST=$( printf "%s\n" $LIST | applyblacklist | sort | uniq ) - fi + + case "$CMD" in + search|download) + # don't apply blacklist + LIST=$( printf "%s\n" $LIST | sort | uniq ) + ;; + *) + LIST=$( printf "%s\n" $LIST | applyblacklist | sort | uniq ) + ;; + esac rm ${TMPDIR}/waiting