mirror of
https://github.com/sbopkg/sbopkg
synced 2024-11-10 03:50:33 +03:00
add -i switch to grep in gen_search_package for case insensitive searches
This commit is contained in:
parent
98fdb52d1d
commit
cce0fe45e3
@ -580,7 +580,7 @@ gen_search_package () {
|
||||
# interface, jump to selected package.
|
||||
cd $LOCALREPO/$SLACKVER
|
||||
PKG=$1
|
||||
RESULTS=$(find . -mindepth 2 -maxdepth 2 -type d | grep $PKG | sed -e 's/.\///')
|
||||
RESULTS=$(find . -mindepth 2 -maxdepth 2 -type d | grep -i $PKG | sed -e 's/.\///')
|
||||
if [ -n "$RESULTS" ]; then
|
||||
if [ "$DIAG" = 1 ]; then
|
||||
for i in $RESULTS; do
|
||||
|
Loading…
Reference in New Issue
Block a user