summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2011-01-19 17:26:34 +0000
committerPascal Terjan <pterjan@mageia.org>2011-01-19 17:26:34 +0000
commit7a0db898b77e79f2c107103e459bc976c989234b (patch)
tree17399ab7f00199ae6bf66fd9c8f6cb7dba607e55 /index.php
parent74f2813767ac38b30227a8246118667516c80ecc (diff)
downloadpkgsubmit-7a0db898b77e79f2c107103e459bc976c989234b.tar
pkgsubmit-7a0db898b77e79f2c107103e459bc976c989234b.tar.gz
pkgsubmit-7a0db898b77e79f2c107103e459bc976c989234b.tar.bz2
pkgsubmit-7a0db898b77e79f2c107103e459bc976c989234b.tar.xz
pkgsubmit-7a0db898b77e79f2c107103e459bc976c989234b.zip
Tell how many packages are left
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/index.php b/index.php
index 3fac455..d1e0b1d 100644
--- a/index.php
+++ b/index.php
@@ -228,12 +228,13 @@ if (!is_null($g_user))
# 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'
);