aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-06 18:54:23 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-06 18:54:23 +0000
commit1c6ff405c83df6d8ed28079e2f52738838d9f68c (patch)
tree28d6c0a8934777edde3a5f051438c4263dfaa6ef /Rpmdrake
parent0a6ea6c8287068af7969b68834cb1766b2450e73 (diff)
downloadrpmdrake-1c6ff405c83df6d8ed28079e2f52738838d9f68c.tar
rpmdrake-1c6ff405c83df6d8ed28079e2f52738838d9f68c.tar.gz
rpmdrake-1c6ff405c83df6d8ed28079e2f52738838d9f68c.tar.bz2
rpmdrake-1c6ff405c83df6d8ed28079e2f52738838d9f68c.tar.xz
rpmdrake-1c6ff405c83df6d8ed28079e2f52738838d9f68c.zip
(get_pkgs) fix error introduced in 4.4.2.1
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 f4e7ab5c..5225831c 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -422,7 +422,7 @@ sub get_pkgs {
callback_choices => \&Rpmdrake::gui::callback_choices,
priority_upgrade => $urpm->{options}{'priority-upgrade'},
auto_select => 1,
- only_request_packages_to_upgrade => $probe_only_for_updates,
+ only_request_packages_to_upgrade => !$probe_only_for_updates,
upgrade_callback => sub {
my ($requested) = @_;
@requested = sort map { urpm_name($_) } @{$urpm->{depslist}}[keys %$requested];