diff options
author | Steve Langasek <vorlon@debian.org> | 2008-09-18 01:03:46 -0700 |
---|---|---|
committer | Steve Langasek <steve.langasek@ubuntu.com> | 2019-01-03 17:28:28 -0800 |
commit | d1e2c2dbee84ce13c3686a8859dd883999312ea1 (patch) | |
tree | 17d3dc4f3c59e13c4f128dd1066d84fe9bd03ab6 /debian/local | |
parent | 742de85ea6bf7a1ef70b8223697976165bed267a (diff) |
fix a bug in the parser that caused error spewing if there were any lines after
the end of the managed block
Diffstat (limited to 'debian/local')
-rwxr-xr-x | debian/local/pam-auth-update | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/local/pam-auth-update b/debian/local/pam-auth-update index c2fd0dda..4c09c657 100755 --- a/debian/local/pam-auth-update +++ b/debian/local/pam-auth-update @@ -282,6 +282,8 @@ sub create_from_template } elsif ($state == 2) { $pattern = '^# and here are more per-package modules \(the "Additional" block\)'; $val = 'Additional'; + } else { + next; } if (/$pattern/) { @@ -380,6 +382,8 @@ sub get_template_md5sum $pattern = '^# here are the per-package modules \(the "Primary" block\)'; } elsif ($state == 2) { $pattern = '^# and here are more per-package modules \(the "Additional" block\)'; + } else { + next; } if (/$pattern/) { |