diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-01-08 11:39:57 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-01-08 11:39:57 +0000 |
commit | 302df159c9d9a661a6e75719b7c799223168c351 (patch) | |
tree | 86cfe9a2b5841a56448f98652f6939fe08373ec1 | |
parent | aac96d9dc0eb33dece4faed87e94181460f0ca7d (diff) | |
download | rpmdrake-302df159c9d9a661a6e75719b7c799223168c351.tar rpmdrake-302df159c9d9a661a6e75719b7c799223168c351.tar.gz rpmdrake-302df159c9d9a661a6e75719b7c799223168c351.tar.bz2 rpmdrake-302df159c9d9a661a6e75719b7c799223168c351.tar.xz rpmdrake-302df159c9d9a661a6e75719b7c799223168c351.zip |
(update_sources) add media even if one failed instead of rollbacking
all of them
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | rpmdrake.pm | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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) = @_; |