summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-02 12:15:21 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-02 12:15:21 +0000
commit3d42ee603c66d1183816ef8306b7ebd9e7c46cda (patch)
tree5afe09a0be2933a1f4c4100ce932396307491244
parentef8954ed60d924d4ada29ef063eca750a47ef459 (diff)
downloaddrakx-3d42ee603c66d1183816ef8306b7ebd9e7c46cda.tar
drakx-3d42ee603c66d1183816ef8306b7ebd9e7c46cda.tar.gz
drakx-3d42ee603c66d1183816ef8306b7ebd9e7c46cda.tar.bz2
drakx-3d42ee603c66d1183816ef8306b7ebd9e7c46cda.tar.xz
drakx-3d42ee603c66d1183816ef8306b7ebd9e7c46cda.zip
(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)
-rw-r--r--perl-install/install/any.pm2
1 files changed, 1 insertions, 1 deletions
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 {