aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
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 /Rpmdrake
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
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/pkg.pm4
1 files changed, 2 insertions, 2 deletions
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];