diff options
Diffstat (limited to 'Rpmdrake')
-rw-r--r-- | Rpmdrake/pkg.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index c1d395e5..4cf07d96 100644 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -421,6 +421,10 @@ sub get_pkgs { my $requested = {}; my $state = {}; + my (@requested, @requested_strict); + + if ($::rpmdrake_options{compute_updates} || $::MODE eq 'update') { + $urpm->request_packages_to_upgrade( $db, $state, @@ -432,10 +436,6 @@ sub get_pkgs { priority_upgrade => $urpm->{options}{'priority-upgrade'}, ); - my (@requested, @requested_strict); - - - if ($::rpmdrake_options{compute_updates}) { if ($urpm->{options}{'priority-upgrade'}) { $need_restart = urpm::select::resolve_priority_upgrades_after_auto_select($urpm, $db, $state, |