From 748edfb30f05bd07793ff0ceda9d365cd04da8e8 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 9 Feb 2009 14:08:28 +0000 Subject: (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) --- Rpmdrake/pkg.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Rpmdrake') 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}}) { -- cgit v1.2.1