diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-07-27 10:47:29 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-07-27 10:47:29 +0000 |
commit | 6d0529abbb5c5be16a88b71a64e3c0ba60c01e4c (patch) | |
tree | 0c0c54e5d00260904330b2e8abf0d66bc221dd88 | |
parent | 5cf824ad782c519741ca7735a78c34929fda20eb (diff) | |
download | drakx-6d0529abbb5c5be16a88b71a64e3c0ba60c01e4c.tar drakx-6d0529abbb5c5be16a88b71a64e3c0ba60c01e4c.tar.gz drakx-6d0529abbb5c5be16a88b71a64e3c0ba60c01e4c.tar.bz2 drakx-6d0529abbb5c5be16a88b71a64e3c0ba60c01e4c.tar.xz drakx-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)
-rw-r--r-- | perl-install/modules.pm | 2 |
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"); } |