From 6bd6f19cfc561e57f29dbbaff13a0ccb0233adb0 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 22 Aug 2008 14:32:02 +0000 Subject: (perform_installation) migrate to urpm::get_pkgs::selected2local_and_blists() --- Rpmdrake/pkg.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index 98fcf0cc..58bad0f2 100644 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -634,10 +634,10 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-( ); statusbar_msg_remove($bar_id); - my ($local_sources, $list) = urpm::get_pkgs::selected2list($urpm, + my ($local_sources, $blist) = urpm::get_pkgs::selected2local_and_blists($urpm, $state->{selected}, ); - if (!$local_sources && (!$list || !@$list)) { + if (!$local_sources && (!$blist || !@$blist)) { interactive_msg( N("Unable to get source packages."), N("Unable to get source packages, sorry. %s", -- cgit v1.2.1