From dc55f96a3cb0a8a2592194c73976e5f00bc06cd4 Mon Sep 17 00:00:00 2001 From: Matteo Rossini Date: Sun, 17 Jan 2016 21:13:36 +0100 Subject: [PATCH] fix search --- src/slackpkgplus.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slackpkgplus.sh b/src/slackpkgplus.sh index 5e5a6a0..8e70432 100755 --- a/src/slackpkgplus.sh +++ b/src/slackpkgplus.sh @@ -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