diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-03-06 19:08:51 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-03-06 19:08:51 +0000 |
commit | 004e111e2596cf7958d55fd31dc1a7647e2a7499 (patch) | |
tree | d6f2b2d8ce389bf1866fa95d038e95fa1cba2d0d /Rpmdrake | |
parent | 7819984cb5ed376c6359f80281a9336d4de25e22 (diff) | |
download | rpmdrake-004e111e2596cf7958d55fd31dc1a7647e2a7499.tar rpmdrake-004e111e2596cf7958d55fd31dc1a7647e2a7499.tar.gz rpmdrake-004e111e2596cf7958d55fd31dc1a7647e2a7499.tar.bz2 rpmdrake-004e111e2596cf7958d55fd31dc1a7647e2a7499.tar.xz rpmdrake-004e111e2596cf7958d55fd31dc1a7647e2a7499.zip |
(get_pkgs) simplify through uniq() (spotted by pixel)
Diffstat (limited to 'Rpmdrake')
-rw-r--r-- | Rpmdrake/pkg.pm | 2 |
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; |