summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-10-29 19:29:49 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-10-29 19:29:49 +0000
commit4801fbc6051f6d79ad3fe2f526ea355d486ae784 (patch)
tree422321bd56b102f958c15852ae5e25a1503f6a7e
parent246cf297eeceae19c4fbc0b785c60f3653dff961 (diff)
downloadurpmi-4801fbc6051f6d79ad3fe2f526ea355d486ae784.tar
urpmi-4801fbc6051f6d79ad3fe2f526ea355d486ae784.tar.gz
urpmi-4801fbc6051f6d79ad3fe2f526ea355d486ae784.tar.bz2
urpmi-4801fbc6051f6d79ad3fe2f526ea355d486ae784.tar.xz
urpmi-4801fbc6051f6d79ad3fe2f526ea355d486ae784.zip
- urpmi
o in --auto, do display an error message when rpms are missing
-rw-r--r--NEWS3
-rw-r--r--urpm/main_loop.pm1
2 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index abdf21d5..14c40f9c 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- urpmi
+ o in --auto, do display an error message when rpms are missing
+
Version 6.14.11 - 28 October 2008
- urpmi
diff --git a/urpm/main_loop.pm b/urpm/main_loop.pm
index 9583ed2d..d9b32946 100644
--- a/urpm/main_loop.pm
+++ b/urpm/main_loop.pm
@@ -110,6 +110,7 @@ foreach my $set (@{$state->{transaction} || []}) {
},
);
if (@error_sources) {
+ $nok++;
$_->[0] = urpm::download::hide_password($_->[0]) foreach @error_sources;
if (my @missing = grep { $_->[1] eq 'missing' } @error_sources) {
$exit_code = 10;