From 51a35cd97c9e9f1f32bf8420122550e97c23a845 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 6 Mar 2008 16:57:09 +0000 Subject: (get_pkgs) tyo fix in latest commit --- Rpmdrake/pkg.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Rpmdrake') 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]; -- cgit v1.2.1