fixed search string

This commit is contained in:
Matteo Rossini 2016-01-17 21:06:58 +01:00
parent 2cd06ecb47
commit 904088459a

View file

@ -914,7 +914,7 @@ if [ "$SLACKPKGPLUS" = "on" ];then
}' l_dir=${DIR} > $PKGINFOS
else # -- CMD==search
grep "^$DIR" "${TMPDIR}/pkglist"|grep --color "/SLACKPKGPLUS_$SEARCHSTR/\|/$SEARCHSTR \| [^ /]*$SEARCHSTR[^ /]* " > $PKGINFOS
grep "^$DIR" /var/lib/slackpkg/pkglist|grep --color "/SLACKPKGPLUS_$SEARCHSTR/\|/$SEARCHSTR/\|/$SEARCHSTR \| [^ /]*$SEARCHSTR[^ /]* "
fi
while read PKGDIR PKGBASENAME PKGVER PKGARCH PKGBUILD PKGFULLNAME PKGPATH PKGEXT ; do