aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-10-21 14:31:47 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-10-21 14:31:47 +0000
commit8acf62d7f4a420d0aee1e44b227457511bab647f (patch)
tree21d395ec565fa3f048cab3ebaa023081ecbffea4 /rpmdrake.pm
parent7b30f0e6b704b94b7e3b36783c5bbdeee822e423 (diff)
downloadrpmdrake-8acf62d7f4a420d0aee1e44b227457511bab647f.tar
rpmdrake-8acf62d7f4a420d0aee1e44b227457511bab647f.tar.gz
rpmdrake-8acf62d7f4a420d0aee1e44b227457511bab647f.tar.bz2
rpmdrake-8acf62d7f4a420d0aee1e44b227457511bab647f.tar.xz
rpmdrake-8acf62d7f4a420d0aee1e44b227457511bab647f.zip
- gurpmi.addmedia
o exit on failing media instead of ignoring them (esp. for --distrib) (need urpmi 6.14.9)
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r--rpmdrake.pm2
1 files changed, 1 insertions, 1 deletions
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 {