tazpkg diff modules/search @ rev 968

Modules "get" and "install": initial support for Cooker contain two architectures packages in one "packages" folder
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Nov 26 12:33:58 2018 +0200 (2018-11-26)
parents 0560ba4306a1
children
line diff
     1.1 --- a/modules/search	Wed Sep 02 03:31:47 2015 +0300
     1.2 +++ b/modules/search	Mon Nov 26 12:33:58 2018 +0200
     1.3 @@ -174,7 +174,7 @@
     1.4  			# name and the full path to the file(s).
     1.5  			for pkg in $(awk -F$'\t' '{print $1}' $PKGS_DB/installed.info); do
     1.6  				FL="$INSTALLED/$pkg/files.list"
     1.7 -				if grep -qs "$2" "$FL"; then
     1.8 +				if grep -qs -e "$2" "$FL"; then
     1.9  					newline
    1.10  					emsg "<c 33>$(_ 'Package %s:' "$pkg")</c>"
    1.11  					awk -vtmp="$TMPLIST" -vfile="$2" -vcfile="$(colorize 32 $2)" '