Sort the entries in the .ini-files. This generates the files with a constant content

Bug-Debian: https://bugs.debian.org/993444
Forwarded: https://rt.cpan.org/Ticket/Display.html?id=139175
Bug: https://rt.cpan.org/Ticket/Display.html?id=139175


Gbp-Pq: Name sort-ini-entries
This commit is contained in:
Roland Clobus 2021-09-01 15:10:00 +02:00 committed by luoyaoming
parent 693d323af9
commit b9b418347f
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ sub save_parsers_debian {
foreach my $p (@{ $class->parsers }) {
print $fh "[$p->{Name}]\n";
foreach my $key (keys %{$p->{Features}}) {
foreach my $key (sort keys %{$p->{Features}}) {
print $fh "$key = $p->{Features}{$key}\n";
}
print $fh "\n";