cookutils rev 86

Fix packge status (must use greo not fgrep)
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 08 03:00:38 2011 +0200 (2011-05-08)
parents 9af9e726b927
children 28d08d97a6ec
files web/cooker.cgi
line diff
     1.1 --- a/web/cooker.cgi	Sun May 08 02:56:02 2011 +0200
     1.2 +++ b/web/cooker.cgi	Sun May 08 03:00:38 2011 +0200
     1.3 @@ -97,7 +97,7 @@
     1.4  		# Check for a log file and display summary if it exists.
     1.5  		if [ -f "$log" ]; then
     1.6  			if fgrep -q "Summary " $LOGS/$pkg.log; then
     1.7 -				if fgrep -q "cook:$pkg$" $command; then
     1.8 +				if grep -q "cook:$pkg$" $command; then
     1.9  					echo "<pre>The Cooker is currently cooking: $pkg</pre>"
    1.10  				else
    1.11  					echo "<h3>Cook summary</h3>"