aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-11-24 17:35:49 +0000
committerThierry Vignaud <tv@mandriva.org>2008-11-24 17:35:49 +0000
commitf0500dfb330e21b626681f476eb474e498812edc (patch)
tree25e5d2229aa1b8f4b63c6f1b9f5fa0e34c899db6 /rpmdrake.pm
parentfe249d67020389f6a6190ffd1acdfa932c1140dc (diff)
downloadrpmdrake-f0500dfb330e21b626681f476eb474e498812edc.tar
rpmdrake-f0500dfb330e21b626681f476eb474e498812edc.tar.gz
rpmdrake-f0500dfb330e21b626681f476eb474e498812edc.tar.bz2
rpmdrake-f0500dfb330e21b626681f476eb474e498812edc.tar.xz
rpmdrake-f0500dfb330e21b626681f476eb474e498812edc.zip
use new proper API now that we try not to drop 'ignore' flag when updating a medium (#44930)
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 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;