aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--NEWS2
-rw-r--r--Rpmdrake/pkg.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index b58af2ed..5419dfd5 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- fix error introduced in 4.4.2.1
+
Version 4.4.2.1 - 6 March 2008, Thierry Vignaud
- fix error introduced in 4.4.2
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];