aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/pkg.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Rpmdrake/pkg.pm')
-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;