cookutils rev 209

cook: add missing only if not already in (some pkgs have dep in bdeps)
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 22 16:56:19 2011 +0200 (2011-05-22)
parents 7bce3132adbf
children 57cda25558f7
files cook
line diff
     1.1 --- a/cook	Sun May 22 16:48:17 2011 +0200
     1.2 +++ b/cook	Sun May 22 16:56:19 2011 +0200
     1.3 @@ -466,7 +466,9 @@
     1.4  						else
     1.5  							# So package exist in wok but not available.
     1.6  							gettext "Missing dep (wok/pkg)     :"; echo " $i $vers"
     1.7 -							echo $i >> $CACHE/missing
     1.8 +							if ! fgrep ^${i}$ $CACHE/missing; then
     1.9 +								echo $i >> $CACHE/missing
    1.10 +							fi
    1.11  						fi
    1.12  					fi
    1.13  				fi