aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-01-08 11:39:57 +0000
committerThierry Vignaud <tv@mandriva.org>2009-01-08 11:39:57 +0000
commit302df159c9d9a661a6e75719b7c799223168c351 (patch)
tree86cfe9a2b5841a56448f98652f6939fe08373ec1 /rpmdrake.pm
parentaac96d9dc0eb33dece4faed87e94181460f0ca7d (diff)
downloadrpmdrake-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.pm2
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) = @_;