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 /rpmdrake.pm | |
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
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r-- | rpmdrake.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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) = @_; |