From f0500dfb330e21b626681f476eb474e498812edc Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 24 Nov 2008 17:35:49 +0000 Subject: use new proper API now that we try not to drop 'ignore' flag when updating a medium (#44930) --- rpmdrake.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rpmdrake.pm') diff --git a/rpmdrake.pm b/rpmdrake.pm index cd6e085d..eeacb480 100644 --- a/rpmdrake.pm +++ b/rpmdrake.pm @@ -749,7 +749,7 @@ sub update_sources { my @media; @media = @{$options{medialist}} if ref $options{medialist}; my $outerfatal = $urpm->{fatal}; local $urpm->{fatal} = sub { $w->destroy; $outerfatal->(@_) }; - urpm::media::update_media($urpm, + urpm::media::update_those_media($urpm, [ urpm::media::select_media_by_name($urpm, [ @media ]) ], %options, callback => sub { $cancel and goto cancel_update; -- cgit v1.2.1