aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-31 15:46:04 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-31 15:46:04 +0000
commita2ae5ab4e0715f0c89229800cc44b5b5ce051509 (patch)
tree3d7b42fff914fa4db9ccf1bfa695ac49ba9ddec5 /Rpmdrake
parent54b87de3a44c9a892bdb9d6b59bc4ddbe4e96281 (diff)
downloadrpmdrake-a2ae5ab4e0715f0c89229800cc44b5b5ce051509.tar
rpmdrake-a2ae5ab4e0715f0c89229800cc44b5b5ce051509.tar.gz
rpmdrake-a2ae5ab4e0715f0c89229800cc44b5b5ce051509.tar.bz2
rpmdrake-a2ae5ab4e0715f0c89229800cc44b5b5ce051509.tar.xz
rpmdrake-a2ae5ab4e0715f0c89229800cc44b5b5ce051509.zip
(get_pkgs) fix priority upgrades by not preselecting updates in rpmdrake
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/pkg.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index e43e2e6e..0ef07ed7 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -450,6 +450,9 @@ sub get_pkgs {
# list updates including skiped ones + their deps in MandrivaUpdate:
@requested = uniq(@requested, @requested_strict);
+ # do not pre select updates in rpmdrake:
+ undef @requested_strict if !$probe_only_for_updates;
+
$priority_state = $need_restart ? $state : undef;
$priority_requested = $need_restart ? $requested : undef;