fix search

This commit is contained in:
Matteo Rossini 2016-01-17 21:13:36 +01:00
parent 904088459a
commit dc55f96a3c

View file

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