# HG changeset patch # User Christophe Lincoln # Date 1304816438 -7200 # Node ID 6323bfa2e2fca5e5b25ffe67a1c1bdfc68ff4c52 # Parent 9af9e726b9276f9828006c715f651221d0bc6f58 Fix packge status (must use greo not fgrep) diff -r 9af9e726b927 -r 6323bfa2e2fc web/cooker.cgi --- a/web/cooker.cgi Sun May 08 02:56:02 2011 +0200 +++ b/web/cooker.cgi Sun May 08 03:00:38 2011 +0200 @@ -97,7 +97,7 @@ # Check for a log file and display summary if it exists. if [ -f "$log" ]; then if fgrep -q "Summary " $LOGS/$pkg.log; then - if fgrep -q "cook:$pkg$" $command; then + if grep -q "cook:$pkg$" $command; then echo "
The Cooker is currently cooking: $pkg
" else echo "

Cook summary

"