summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-07-27 10:47:29 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-07-27 10:47:29 +0000
commit6d0529abbb5c5be16a88b71a64e3c0ba60c01e4c (patch)
tree0c0c54e5d00260904330b2e8abf0d66bc221dd88 /perl-install
parent5cf824ad782c519741ca7735a78c34929fda20eb (diff)
downloaddrakx-backup-do-not-use-6d0529abbb5c5be16a88b71a64e3c0ba60c01e4c.tar
drakx-backup-do-not-use-6d0529abbb5c5be16a88b71a64e3c0ba60c01e4c.tar.gz
drakx-backup-do-not-use-6d0529abbb5c5be16a88b71a64e3c0ba60c01e4c.tar.bz2
drakx-backup-do-not-use-6d0529abbb5c5be16a88b71a64e3c0ba60c01e4c.tar.xz
drakx-backup-do-not-use-6d0529abbb5c5be16a88b71a64e3c0ba60c01e4c.zip
(add_probeall): use "uniq" to have modules only once in ddebug.log (a "uniq"
was already in modules.conf so it doesn't change the result)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/modules.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index 4f843b778..21d3fe040 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -157,7 +157,7 @@ sub add_probeall {
my ($alias, $module) = @_;
my $l = $conf{$alias}{probeall} ||= [];
- push @$l, $module;
+ @$l = uniq(@$l, $module);
log::l("setting probeall scsi_hostadapter to @$l");
}