summaryrefslogtreecommitdiff
path: root/debian/local/pam-auth-update
diff options
context:
space:
mode:
Diffstat (limited to 'debian/local/pam-auth-update')
-rwxr-xr-xdebian/local/pam-auth-update4
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/) {