aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
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;