From 904088459ab6a238e6c230b5f60afd55259e2a32 Mon Sep 17 00:00:00 2001 From: Matteo Rossini Date: Sun, 17 Jan 2016 21:06:58 +0100 Subject: [PATCH] fixed search string --- src/slackpkgplus.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slackpkgplus.sh b/src/slackpkgplus.sh index 125cffb..5e5a6a0 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" "${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