aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/pkg.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Rpmdrake/pkg.pm')
-rw-r--r--Rpmdrake/pkg.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 5225831c..22d67a70 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -433,7 +433,7 @@ sub get_pkgs {
);
# list updates including skiped ones + their deps in MandrivaUpdate:
- push @requested, difference2(\@requested_strict, \@requested) if $probe_only_for_updates;
+ @requested = uniq(@requested, @requested_strict) if $probe_only_for_updates;
$priority_state = $restart_itself ? $state : undef;
$priority_requested = $restart_itself ? $requested : undef;