mirror of
https://github.com/zuno/slackpkgplus
synced 2024-12-26 09:58:43 +01:00
Fixed slackpkg search filter
This commit is contained in:
parent
e84d428fb1
commit
2cd06ecb47
1 changed files with 1 additions and 1 deletions
|
@ -914,7 +914,7 @@ if [ "$SLACKPKGPLUS" = "on" ];then
|
|||
}' l_dir=${DIR} > $PKGINFOS
|
||||
|
||||
else # -- CMD==search
|
||||
grep ${GREPOPTS} "^${DIR} \([^ ]*${SEARCHSTR}\)\|\(.*/${SEARCHSTR}/\)\|\(.*/SLACKPKGPLUS_${SEARCHSTR}\)" "${TMPDIR}/pkglist" > $PKGINFOS
|
||||
grep "^$DIR" "${TMPDIR}/pkglist"|grep --color "/SLACKPKGPLUS_$SEARCHSTR/\|/$SEARCHSTR \| [^ /]*$SEARCHSTR[^ /]* " > $PKGINFOS
|
||||
fi
|
||||
|
||||
while read PKGDIR PKGBASENAME PKGVER PKGARCH PKGBUILD PKGFULLNAME PKGPATH PKGEXT ; do
|
||||
|
|
Loading…
Reference in a new issue