summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-08-24 11:16:54 +0000
committerThierry Vignaud <tv@mageia.org>2012-08-24 11:16:54 +0000
commit683149d14d258d15bdb6ce5a4eda5475fdcbebb7 (patch)
tree172dad17f5a5dae58236e329dfd5fd044a833437 /urpm
parent71c5b675469035830093275aeb7eabd8e2645d68 (diff)
downloadurpmi-683149d14d258d15bdb6ce5a4eda5475fdcbebb7.tar
urpmi-683149d14d258d15bdb6ce5a4eda5475fdcbebb7.tar.gz
urpmi-683149d14d258d15bdb6ce5a4eda5475fdcbebb7.tar.bz2
urpmi-683149d14d258d15bdb6ce5a4eda5475fdcbebb7.tar.xz
urpmi-683149d14d258d15bdb6ce5a4eda5475fdcbebb7.zip
(_download_packages) decrease total package count when some files are missing
Diffstat (limited to 'urpm')
-rw-r--r--urpm/main_loop.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm/main_loop.pm b/urpm/main_loop.pm
index a0d811a6..745494c9 100644
--- a/urpm/main_loop.pm
+++ b/urpm/main_loop.pm
@@ -70,6 +70,7 @@ sub _download_packages {
join("\n", map { " $_->[0]" } @missing))
. "\n" .
N("You may need to update your urpmi database.");
+ $urpm->{nb_install} -= scalar @missing;
}
if (@bad) {
push @msgs, N("Installation failed, bad rpms:\n%s",