# HG changeset patch # User Christophe Lincoln # Date 1399570098 -7200 # Node ID f061dffa65bb666a20ab850e98ccc2fdaadc06df # Parent 00c89537b9d42046ee4a49c56b5ce73de1d130fd Fix package count for the cooker web interface diff -r 00c89537b9d4 -r f061dffa65bb web/cooker.cgi --- a/web/cooker.cgi Wed Apr 30 00:45:19 2014 +0200 +++ b/web/cooker.cgi Thu May 08 19:28:18 2014 +0200 @@ -300,8 +300,8 @@ toolchain='cooker.cgi?pkg=slitaz-toolchain' fi # Main page with summary. Count only package include in ARCH, - # use 'cooker arch' to manually create arch.$ARCH files. - inwok=$(ls $WOK | wc -l) + # use 'cooker arch-db' to manually create arch.$ARCH files. + inwok=$(ls $WOK/*/arch.$ARCH | wc -l) cooked=$(ls $PKGS/*.tazpkg | wc -l) unbuilt=$(($inwok - $cooked)) pct=0