diff options
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | rpmdrake.pm | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -1,4 +1,7 @@ - fix displaying big list of conflicting packages +- gurpmi.addmedia + o exit on failing media instead of ignoring them (esp. for --distrib) + (need urpmi 6.14.9) Version 5.0.2 - 16 October 2008, Thierry Vignaud diff --git a/rpmdrake.pm b/rpmdrake.pm index 1697ec32..8ba96f26 100644 --- a/rpmdrake.pm +++ b/rpmdrake.pm @@ -878,7 +878,7 @@ sub add_medium_and_check { urpm::download::set_proxy_config($_, $options->{proxy}{$_}, $name) foreach keys %{$options->{proxy} || {}}; } - if (update_sources_check($urpm, $options, N_("Unable to add medium, errors reported:\n\n%s"), @newnames)) { + if (update_sources_check($urpm, { %$options, failures_are_fatal => 1 }, N_("Unable to add medium, errors reported:\n\n%s"), @newnames)) { urpm::media::write_config($urpm); $options->{proxy} and urpm::download::dump_proxy_config(); } else { |