[Mageia-sysadm] [322] Tell how many packages are left

root at mageia.org root at mageia.org
Wed Jan 19 18:26:35 CET 2011


Revision: 322
Author:   pterjan
Date:     2011-01-19 18:26:34 +0100 (Wed, 19 Jan 2011)
Log Message:
-----------
Tell how many packages are left

Modified Paths:
--------------
    build_system/web/index.php

Modified: build_system/web/index.php
===================================================================
--- build_system/web/index.php	2011-01-19 17:03:00 UTC (rev 321)
+++ build_system/web/index.php	2011-01-19 17:26:34 UTC (rev 322)
@@ -228,12 +228,13 @@
 # Temporary until initial mirror is ready
 echo sprintf(
     '<p><a href="%s">%d src.rpm</a> rebuilt for Mageia out of <a href="%s">%d</a> (%d%%)
-    (<a href="%s">list of Mandriva packages still present</a>). <strong><a href="%s">You can help!</a></strong>.</p>',
+    (<a href="%s">list of %d Mandriva packages still present</a>). <strong><a href="%s">You can help!</a></strong>.</p>',
 
     'data/src.mga.txt', $nb_rpm_mga,
     'data/src.txt', $nb_rpm,
     $nb_rpm > 0 ? floor($nb_rpm_mga / $nb_rpm * 100) : 0,
     'data/src.mdv.txt',
+    $nb_rpm - $nb_rpm_mga,
     'http://www.mageia.org/wiki/doku.php?id=packaging#starting_package_import'
 );
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110119/0cd24d61/attachment-0001.html>


More information about the Mageia-sysadm mailing list