diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-03-06 18:54:23 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-03-06 18:54:23 +0000 |
commit | 1c6ff405c83df6d8ed28079e2f52738838d9f68c (patch) | |
tree | 28d6c0a8934777edde3a5f051438c4263dfaa6ef | |
parent | 0a6ea6c8287068af7969b68834cb1766b2450e73 (diff) | |
download | rpmdrake-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-- | NEWS | 2 | ||||
-rw-r--r-- | Rpmdrake/pkg.pm | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -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]; |