aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/pkg.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-04-29 15:20:01 +0000
committerThierry Vignaud <tv@mandriva.org>2009-04-29 15:20:01 +0000
commitcf9459f4a87d41375d9388c436e34f5da9ee2b35 (patch)
treec8dc383c48dceae8fc1a46333b0ce568e73f051d /Rpmdrake/pkg.pm
parent0bf13de5554f7730393d7631aeff3b0083d6743d (diff)
downloadrpmdrake-cf9459f4a87d41375d9388c436e34f5da9ee2b35.tar
rpmdrake-cf9459f4a87d41375d9388c436e34f5da9ee2b35.tar.gz
rpmdrake-cf9459f4a87d41375d9388c436e34f5da9ee2b35.tar.bz2
rpmdrake-cf9459f4a87d41375d9388c436e34f5da9ee2b35.tar.xz
rpmdrake-cf9459f4a87d41375d9388c436e34f5da9ee2b35.zip
(get_pkgs) adjust after latest commit so that we do compute updates when asked for
Diffstat (limited to 'Rpmdrake/pkg.pm')
-rw-r--r--Rpmdrake/pkg.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 7c1314c7..3ddca0f8 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -475,7 +475,7 @@ sub get_pkgs {
my $state = {};
my (@requested, @requested_strict);
- if ($::rpmdrake_options{compute_updates} || $::MODE eq 'update') {
+ if ($compute_updates || $::MODE eq 'update') {
get_updates_list($urpm, $db, $state, $requested, \@requested, \@requested_strict, \%all_pkgs);
}