cookutils rev 679

Fix package count for the cooker web interface
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 08 19:28:18 2014 +0200 (2014-05-08)
parents 00c89537b9d4
children b7bc9f049215
files web/cooker.cgi
line diff
     1.1 --- a/web/cooker.cgi	Wed Apr 30 00:45:19 2014 +0200
     1.2 +++ b/web/cooker.cgi	Thu May 08 19:28:18 2014 +0200
     1.3 @@ -300,8 +300,8 @@
     1.4  			toolchain='cooker.cgi?pkg=slitaz-toolchain'
     1.5  		fi
     1.6  		# Main page with summary. Count only package include in ARCH,
     1.7 -		# use 'cooker arch' to manually create arch.$ARCH files.
     1.8 -		inwok=$(ls $WOK | wc -l)
     1.9 +		# use 'cooker arch-db' to manually create arch.$ARCH files.
    1.10 +		inwok=$(ls $WOK/*/arch.$ARCH | wc -l)
    1.11  		cooked=$(ls $PKGS/*.tazpkg | wc -l)
    1.12  		unbuilt=$(($inwok - $cooked))
    1.13  		pct=0