From ec0352d79834b77beb3e0a8130b4f2f10b7aa4ee Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Thu, 6 Aug 2020 13:14:36 -0700 Subject: [PATCH] Renumber sub-directives as well --- dovecot/dovecot-lib.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dovecot/dovecot-lib.pl b/dovecot/dovecot-lib.pl index bbb4d66e4..60a71ee8e 100755 --- a/dovecot/dovecot-lib.pl +++ b/dovecot/dovecot-lib.pl @@ -309,6 +309,9 @@ foreach my $c (@$conf) { $c->{'line'} += $offset if ($c->{'line'} >= $line); $c->{'eline'} += $offset if ($c->{'eline'} >= $line); } + if ($c->{'section'}) { + &renumber($c->{'members'}, $line, $file, $offset); + } } }