diff options
author | Michael Scherer <misc@mageia.org> | 2011-05-09 18:36:23 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2011-05-09 18:36:23 +0000 |
commit | 5c895457b90951515f537a2237376b3becf02c16 (patch) | |
tree | 99ddc5a9d20924fe7c75687c25a76404403a5bd3 | |
parent | 752d8eccf0616fd8d38454674bbedc500a6ebce6 (diff) | |
download | pkgsubmit-5c895457b90951515f537a2237376b3becf02c16.tar pkgsubmit-5c895457b90951515f537a2237376b3becf02c16.tar.gz pkgsubmit-5c895457b90951515f537a2237376b3becf02c16.tar.bz2 pkgsubmit-5c895457b90951515f537a2237376b3becf02c16.tar.xz pkgsubmit-5c895457b90951515f537a2237376b3becf02c16.zip |
nicer message when there is missing deps
-rw-r--r-- | index.php | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -7,6 +7,7 @@ * @author Olivier Blin * @author Pascal Terjan * @author Romain d'Alverny + * @author Michael Scherer * * @license http://www.gnu.org/licenses/gpl-2.0.html GNU GPL v2 * @@ -292,8 +293,8 @@ if (!is_null($g_user)) # Temporary until initial mirror is ready echo sprintf( - '<p><a href="%s">%d broken dependencies</a>. <strong><a href="%s">You can help!</a></strong></p>', - 'data/missing-deps.i586.txt', count($missing_deps), + '<p><a href="%s">%s broken dependencies</a>. <strong><a href="%s">You can help!</a></strong></p>', + 'data/missing-deps.i586.txt', count($missing_deps) == 0 ? 'no' : count($missing_deps), 'http://www.mageia.org/wiki/doku.php?id=packaging#starting_package_import' ); |