aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--rpmdrake.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 872dc032..62bcf52e 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,5 @@
- edit-urpm-sources:
+ o add media even if one failed instead of rollbacking all of them
o fix displayling big list of media to remove (#46773)
Version 5.5 - 9 December 2008, Thierry Vignaud
diff --git a/rpmdrake.pm b/rpmdrake.pm
index eeacb480..11944d8a 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -750,7 +750,7 @@ sub update_sources {
my $outerfatal = $urpm->{fatal};
local $urpm->{fatal} = sub { $w->destroy; $outerfatal->(@_) };
urpm::media::update_those_media($urpm, [ urpm::media::select_media_by_name($urpm, [ @media ]) ],
- %options,
+ %options, allow_failures => 1,
callback => sub {
$cancel and goto cancel_update;
my ($type, $media) = @_;