mirror of
https://github.com/sbopkg/sbopkg
synced 2024-12-27 09:58:28 +01:00
add -i switch to grep in gen_search_package for case insensitive searches
This commit is contained in:
parent
98fdb52d1d
commit
cce0fe45e3
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue