diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-03-06 16:57:09 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-03-06 16:57:09 +0000 |
commit | 51a35cd97c9e9f1f32bf8420122550e97c23a845 (patch) | |
tree | 47e5d1fec2763076e8c14301355372bbf9612f61 /Rpmdrake | |
parent | d49062341b3861a876719bd4f6446d609ba9c95a (diff) | |
download | rpmdrake-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.pm | 4 |
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]; |