tazpkg diff modules/search @ rev 972

Remove ashism ==
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 26 08:21:22 2019 +0100 (2019-02-26)
parents 0560ba4306a1
children
line diff
     1.1 --- a/modules/search	Wed Sep 02 03:31:47 2015 +0300
     1.2 +++ b/modules/search	Tue Feb 26 08:21:22 2019 +0100
     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)" '