aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/pkg.pm
diff options
context:
space:
mode:
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);
}