mirror of
https://github.com/webmin/webmin.git
synced 2025-08-15 21:20:10 +00:00
Deal with existing extracted module.info files
This commit is contained in:
@ -18,7 +18,10 @@ foreach my $f (@files) {
|
|||||||
my %extract;
|
my %extract;
|
||||||
foreach my $k (@keys) {
|
foreach my $k (@keys) {
|
||||||
if ($k =~ /^(desc|longdesc)_(\S+)/) {
|
if ($k =~ /^(desc|longdesc)_(\S+)/) {
|
||||||
$extract{$2} ||= { };
|
if (!$extract{$2}) {
|
||||||
|
$extract{$2} ||= { };
|
||||||
|
&read_file($f.".".$2, $extract{$2});
|
||||||
|
}
|
||||||
$extract{$2}->{$k} = $minfo{$k};
|
$extract{$2}->{$k} = $minfo{$k};
|
||||||
delete($minfo{$k});
|
delete($minfo{$k});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user