From 5c895457b90951515f537a2237376b3becf02c16 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Mon, 9 May 2011 18:36:23 +0000 Subject: nicer message when there is missing deps --- index.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index 8ddf7c7..9c7dfab 100644 --- a/index.php +++ b/index.php @@ -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( - '

%d broken dependencies. You can help!

', - 'data/missing-deps.i586.txt', count($missing_deps), + '

%s broken dependencies. You can help!

', + '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' ); -- cgit v1.2.1