diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-02-09 14:08:28 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-02-09 14:08:28 +0000 |
commit | 748edfb30f05bd07793ff0ceda9d365cd04da8e8 (patch) | |
tree | ef879409cc0d14a0368b37d73cece3dd254c0442 /Rpmdrake/pkg.pm | |
parent | b991771bfb42e9436b63a6a0debe547173b327af (diff) | |
download | rpmdrake-748edfb30f05bd07793ff0ceda9d365cd04da8e8.tar rpmdrake-748edfb30f05bd07793ff0ceda9d365cd04da8e8.tar.gz rpmdrake-748edfb30f05bd07793ff0ceda9d365cd04da8e8.tar.bz2 rpmdrake-748edfb30f05bd07793ff0ceda9d365cd04da8e8.tar.xz rpmdrake-748edfb30f05bd07793ff0ceda9d365cd04da8e8.zip |
(warn_about_media) use new proper API to select media, thus fixing not
updating media (side effect of urpmi-6.14.12 API changes, #47209)
Diffstat (limited to 'Rpmdrake/pkg.pm')
-rw-r--r-- | Rpmdrake/pkg.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index de890e26..a06422d9 100644 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -236,7 +236,7 @@ Is it ok to continue?"), yesno => 1, )) or myexit(-1); writeconf(); urpm::media::select_media($urpm, map { $_->{name} } @update_medias); - update_sources($urpm, noclean => 1); + update_sources($urpm, noclean => 1, medialist => [ map { $_->{name} } @update_medias ]); } } else { if (any { $_->{update} } @{$urpm->{media}}) { |