diff options
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r-- | perl-install/install_any.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index 00dda26e4..36d6b2eca 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -562,7 +562,7 @@ sub update_userkderc($$$) { if (/^\s*(\w*)=/ && $tosubst{lc($1)}) { delete $tosubst{lc($1)}; } else { - ($i > 1 && /^\s*\[/ && join '', values %tosubst). $_; + ($i > 1 && /^\s*\[/ && join '', map { delete $tosubst{$_} } keys %tosubst). $_; } } else { $_; |