diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-08-24 11:16:54 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-08-24 11:16:54 +0000 |
commit | 683149d14d258d15bdb6ce5a4eda5475fdcbebb7 (patch) | |
tree | 172dad17f5a5dae58236e329dfd5fd044a833437 | |
parent | 71c5b675469035830093275aeb7eabd8e2645d68 (diff) | |
download | urpmi-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
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | urpm/main_loop.pm | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -1,3 +1,5 @@ +- decrease total package count when some files are missing + Version 7.3 - 24 August 2012 - only search for README.urpmi files in doc files (needs URPM >= 4.13) 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", |