diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/modules.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm index dfdebd6cd..e41a29bd1 100644 --- a/perl-install/modules.pm +++ b/perl-install/modules.pm @@ -544,8 +544,11 @@ sub read_conf($;$) { sub mergein_conf { my ($file) = @_; +#- add2hash(\%conf, read_conf($file, \$scsi)); my $modconfref = read_conf ($file, \$scsi); - map { my ($key, $value) = $_; $conf{$key}{alias} ||= $value->{alias} } %$modconfref; + while (my ($key, $value) = each %$modconfref) { + $conf{$key}{alias} = $value->{alias} unless exists $conf{$key}{alias}; + } } sub write_conf { |