tazwok rev 199
Fix an fgrep command
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Wed Jan 26 21:45:21 2011 +0100 (2011-01-26) |
parents | 19a093324a4e |
children | 992ea5bf6d66 |
files | tazwok |
line diff
1.1 --- a/tazwok Wed Jan 26 02:12:44 2011 +0100 1.2 +++ b/tazwok Wed Jan 26 21:45:21 2011 +0100 1.3 @@ -1044,7 +1044,7 @@ 1.4 1.5 # Look for new packages. 1.6 for pkg in $(echo $pkg_repository/*.tazpkg | fgrep -v '*'); do 1.7 - if ! fgrep " ${pkg##*/}" $pkg_repository/packages.md5; then 1.8 + if ! fgrep -q " ${pkg##*/}" $pkg_repository/packages.md5; then 1.9 get_packages_info 1.10 fi 1.11 done