aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/pkg.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-06 16:48:18 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-06 16:48:18 +0000
commitf8e62559d9976f15a4b15ec63099ac123fcb354b (patch)
treeebe1e7be77ec6ef6e6af26a85193c5557265dcb2 /Rpmdrake/pkg.pm
parent84732abe19447573067b747c2e5dd9d72a9ba0a3 (diff)
downloadrpmdrake-f8e62559d9976f15a4b15ec63099ac123fcb354b.tar
rpmdrake-f8e62559d9976f15a4b15ec63099ac123fcb354b.tar.gz
rpmdrake-f8e62559d9976f15a4b15ec63099ac123fcb354b.tar.bz2
rpmdrake-f8e62559d9976f15a4b15ec63099ac123fcb354b.tar.xz
rpmdrake-f8e62559d9976f15a4b15ec63099ac123fcb354b.zip
(resolve_dependencies) don't select all updates by default in rpmdrake
(#38611) regression introduced in r238520 on 2008-03-04 in order to handle priority upgrade list in 4.3.2: "(get_pkgs) use more modern urpm::select::resolve_dependencies() API instead of partially open-coding it, thus enabling further improvements"
Diffstat (limited to 'Rpmdrake/pkg.pm')
-rw-r--r--Rpmdrake/pkg.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 7ca26dbe..ec7a73f2 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -421,7 +421,8 @@ sub get_pkgs {
$urpm, $state, $requested,
callback_choices => \&Rpmdrake::gui::callback_choices,
priority_upgrade => $urpm->{options}{'priority-upgrade'},
- auto_select => 1,
+ auto_select => $probe_only_for_updates,
+ only_request_packages_to_upgrade => 1,
upgrade_callback => sub {
my ($requested) = @_;
@requested = sort map { urpm_name($_) } @{$urpm->{depslist}}[keys %$requested];