r5871 - /scripts/qa/versioncheck-html

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Thu Jul 19 10:27:57 UTC 2007


Author: dmn
Date: Thu Jul 19 10:27:57 2007
New Revision: 5871

URL: http://svn.debian.org/wsvn/?sc=1&rev=5871
Log:
Count listed packages and display the count at the bottom

Modified:
    scripts/qa/versioncheck-html

Modified: scripts/qa/versioncheck-html
URL: http://svn.debian.org/wsvn/scripts/qa/versioncheck-html?rev=5871&op=diff
==============================================================================
--- scripts/qa/versioncheck-html (original)
+++ scripts/qa/versioncheck-html Thu Jul 19 10:27:57 2007
@@ -46,6 +46,7 @@
 </tr>
 _EOF
 
+TOTAL=0
 # loop over packages
 for SECTION in packages tools; do
 	for P in $(svn ls $REPO/$SECTION/); do
@@ -97,11 +98,14 @@
 				echo "<td>&nbsp;</td>"
 			fi
 			echo "</tr>"
+
+			TOTAL=$(( $TOTAL + 1 ))
 		fi
 		
 	done
 done
 
+echo "<tr><td colspan=\"4\"><b>TOTAL: $TOTAL</b></td></tr>"
 echo "</table>"
 echo "</body>"
 




More information about the Pkg-perl-cvs-commits mailing list