aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-10-01 11:32:16 +0000
committerThierry Vignaud <tv@mandriva.org>2009-10-01 11:32:16 +0000
commit424061967f2a00973739d8dff379b0b3bd353ce5 (patch)
tree2c8a69e3937350b00d070e2f4c232086f9ab52b3 /Rpmdrake
parent34bc88d9b5d1bf7bf6eca566278590b568ce0b3e (diff)
downloadrpmdrake-424061967f2a00973739d8dff379b0b3bd353ce5.tar
rpmdrake-424061967f2a00973739d8dff379b0b3bd353ce5.tar.gz
rpmdrake-424061967f2a00973739d8dff379b0b3bd353ce5.tar.bz2
rpmdrake-424061967f2a00973739d8dff379b0b3bd353ce5.tar.xz
rpmdrake-424061967f2a00973739d8dff379b0b3bd353ce5.zip
(get_pkgs,run_treeview_dialog) make sure 'compute_updates' is used the
same way in both rpmdrake & MandrivaUpdate
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/pkg.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 581ed6b8..7b0da077 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -475,7 +475,7 @@ sub get_pkgs {
my $state = {};
my (@requested, @requested_strict);
- if ($compute_updates || $::MODE eq 'update') {
+ if ($compute_updates->[0] || $::MODE eq 'update') {
get_updates_list($urpm, $db, $state, $requested, \@requested, \@requested_strict, \%all_pkgs);
}