aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-08-22 14:32:02 +0000
committerThierry Vignaud <tv@mandriva.org>2008-08-22 14:32:02 +0000
commit6bd6f19cfc561e57f29dbbaff13a0ccb0233adb0 (patch)
tree189ec4f27bdd58cfabf15568d3401d60f13ca078
parent98f4417c0fed36f3805bc5167c43e767853bb22f (diff)
downloadrpmdrake-6bd6f19cfc561e57f29dbbaff13a0ccb0233adb0.tar
rpmdrake-6bd6f19cfc561e57f29dbbaff13a0ccb0233adb0.tar.gz
rpmdrake-6bd6f19cfc561e57f29dbbaff13a0ccb0233adb0.tar.bz2
rpmdrake-6bd6f19cfc561e57f29dbbaff13a0ccb0233adb0.tar.xz
rpmdrake-6bd6f19cfc561e57f29dbbaff13a0ccb0233adb0.zip
(perform_installation) migrate to urpm::get_pkgs::selected2local_and_blists()
-rw-r--r--Rpmdrake/pkg.pm4
1 files 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",