aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/pkg.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-04 23:24:13 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-04 23:24:13 +0000
commitb24fe3417f4dbb2506621db80091827b526d3a10 (patch)
tree14e9f0754f4db294176f131c415db570eefde1e9 /Rpmdrake/pkg.pm
parentc6a1cf6e260b59b8086ff28ebf536f377c50b6b1 (diff)
downloadrpmdrake-b24fe3417f4dbb2506621db80091827b526d3a10.tar
rpmdrake-b24fe3417f4dbb2506621db80091827b526d3a10.tar.gz
rpmdrake-b24fe3417f4dbb2506621db80091827b526d3a10.tar.bz2
rpmdrake-b24fe3417f4dbb2506621db80091827b526d3a10.tar.xz
rpmdrake-b24fe3417f4dbb2506621db80091827b526d3a10.zip
(perform_installation) store state when assuring selected set is consistant
Diffstat (limited to 'Rpmdrake/pkg.pm')
-rw-r--r--Rpmdrake/pkg.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index ccb08620..58d8aed4 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -578,7 +578,8 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-(
my $bar_id = statusbar_msg(N("Checking validity of requested packages..."), 0);
# select packages to install:
- $urpm->resolve_requested(open_rpm_db(), $state, { map { $_->id => undef } grep { $_->flag_selected } @{$urpm->{depslist}} },
+ my $requested = { map { $_->id => undef } grep { $_->flag_selected } @{$urpm->{depslist}} };
+ $urpm->resolve_requested(open_rpm_db(), $state, $requested,
callback_choices => \&Rpmdrake::gui::callback_choices);
statusbar_msg_remove($bar_id);