aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-06 16:57:09 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-06 16:57:09 +0000
commit51a35cd97c9e9f1f32bf8420122550e97c23a845 (patch)
tree47e5d1fec2763076e8c14301355372bbf9612f61
parentd49062341b3861a876719bd4f6446d609ba9c95a (diff)
downloadrpmdrake-51a35cd97c9e9f1f32bf8420122550e97c23a845.tar
rpmdrake-51a35cd97c9e9f1f32bf8420122550e97c23a845.tar.gz
rpmdrake-51a35cd97c9e9f1f32bf8420122550e97c23a845.tar.bz2
rpmdrake-51a35cd97c9e9f1f32bf8420122550e97c23a845.tar.xz
rpmdrake-51a35cd97c9e9f1f32bf8420122550e97c23a845.zip
(get_pkgs) tyo fix in latest commit
-rw-r--r--NEWS2
-rw-r--r--Rpmdrake/pkg.pm4
2 files changed, 4 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 67eb9dbc..a3f6d475 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- fix error introduced in 4.4.2
+
Version 4.4.2 - 6 March 2008, Thierry Vignaud
- fix not listing all updates (#*38595)
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index ec7a73f2..f4e7ab5c 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -421,8 +421,8 @@ sub get_pkgs {
$urpm, $state, $requested,
callback_choices => \&Rpmdrake::gui::callback_choices,
priority_upgrade => $urpm->{options}{'priority-upgrade'},
- auto_select => $probe_only_for_updates,
- only_request_packages_to_upgrade => 1,
+ auto_select => 1,
+ only_request_packages_to_upgrade => $probe_only_for_updates,
upgrade_callback => sub {
my ($requested) = @_;
@requested = sort map { urpm_name($_) } @{$urpm->{depslist}}[keys %$requested];