aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-31 15:47:42 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-31 15:47:42 +0000
commita5ad189eb954bb476339ba0a42504831305f7c8e (patch)
treebcdae95b84e027f5c7e45fd84be36f3fa405de5e /Rpmdrake
parenta2ae5ab4e0715f0c89229800cc44b5b5ce051509 (diff)
downloadrpmdrake-a5ad189eb954bb476339ba0a42504831305f7c8e.tar
rpmdrake-a5ad189eb954bb476339ba0a42504831305f7c8e.tar.gz
rpmdrake-a5ad189eb954bb476339ba0a42504831305f7c8e.tar.bz2
rpmdrake-a5ad189eb954bb476339ba0a42504831305f7c8e.tar.xz
rpmdrake-a5ad189eb954bb476339ba0a42504831305f7c8e.zip
(perform_installation) fix priority upgrades by not recomputing them
when checking selection consistency just before actually installing
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/pkg.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 0ef07ed7..8c659410 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -613,10 +613,9 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-(
# select packages to install / enssure selected pkg set is consistant:
my $requested = { map { $_->id => undef } grep { $_->flag_selected } @{$urpm->{depslist}} };
- $need_restart ||= urpm::select::resolve_dependencies(
+ urpm::select::resolve_dependencies(
$urpm, $state, $requested,
callback_choices => \&Rpmdrake::gui::callback_choices,
- priority_upgrade => $urpm->{options}{'priority-upgrade'},
);
statusbar_msg_remove($bar_id);