From 3d42ee603c66d1183816ef8306b7ebd9e7c46cda Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 2 Mar 2012 12:15:21 +0000 Subject: (default_packages) make sure we request packages only once (to be on the safe side, eg if someone has both HW RAID and soft RAID) --- perl-install/install/any.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm index 06ab0f503..dbfa75183 100644 --- a/perl-install/install/any.pm +++ b/perl-install/install/any.pm @@ -581,7 +581,7 @@ sub default_packages { my @locale_pkgs = map { URPM::packages_providing($o->{packages}, 'locales-' . $_) } @languages; unshift @l, uniq(map { $_->name } @locale_pkgs); - @l; + uniq(@l); } sub mark_skipped_packages { -- cgit v1.2.1