tazpkg rev 323
Show search Description button
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 23 10:12:13 2010 +0100 (2010-02-23) |
parents | 317b65f3d2a0 |
children | 8e77902dd45b |
files | lib/tazpkgbox/search tazpkgbox |
line diff
1.1 --- a/lib/tazpkgbox/search Tue Feb 23 09:34:10 2010 +0100 1.2 +++ b/lib/tazpkgbox/search Tue Feb 23 10:12:13 2010 +0100 1.3 @@ -50,7 +50,7 @@ 1.4 cat /var/lib/tazpkg/packages.desc \ 1.5 /var/lib/tazpkg/undigest/*/packages.desc 2> /dev/null | sort | \ 1.6 while read PACKAGE VERSION SHORT_DESC; do 1.7 - if echo "$PACKAGE $SHORT_DESC" | grep -q "$SEARCH"; then 1.8 + if echo "$PACKAGE $SHORT_DESC" | grep -iq "$SEARCH"; then 1.9 list_package ${PACKAGE%% *} 1.10 fi 1.11 done
2.1 --- a/tazpkgbox Tue Feb 23 09:34:10 2010 +0100 2.2 +++ b/tazpkgbox Tue Feb 23 10:12:13 2010 +0100 2.3 @@ -347,7 +347,7 @@ 2.4 <variable>SEARCH</variable> 2.5 </entry> 2.6 <button> 2.7 - <label>Packages</label> 2.8 + <label>Packages/Description</label> 2.9 <input file icon="system-search"></input> 2.10 <action>$LIB/search packages</action> 2.11 <action>refresh:RESULT</action>