diff options
author | Steve Langasek <vorlon@debian.org> | 2008-08-20 23:41:28 -0700 |
---|---|---|
committer | Steve Langasek <steve.langasek@ubuntu.com> | 2019-01-03 17:28:26 -0800 |
commit | 2bf2764701f3764baca990319cfeb55a28c5e896 (patch) | |
tree | 8d4bd4bb33208e2088f0e5cecd667af4fdadfd22 /debian/local | |
parent | c866c06520b786a7ac1844e54f655354d3f8eec2 (diff) |
fix the regex used when suppressing jump counts when reading the saved
config, so that we don't clobber module options with numbers in them
Diffstat (limited to 'debian/local')
-rwxr-xr-x | debian/local/pam-auth-update | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/local/pam-auth-update b/debian/local/pam-auth-update index f93aa8ae..2a5ae0c0 100755 --- a/debian/local/pam-auth-update +++ b/debian/local/pam-auth-update @@ -426,7 +426,8 @@ sub diff_profiles # us from having to re-parse everything just to fix # up the jump lengths, when changes to these will # already show up as inconsistencies elsewhere - s/(end|[0-9]+)//g; + s/(\[[^0-9]*)[0-9]+(.*\])/$1$2/g; + s/(\[.*)end(.*\])/$1$2/g; my (@temp) = ($modname,$_); push(@saved,\@temp); } |