diff options
author | Steve Langasek <vorlon@debian.org> | 2010-04-25 06:28:04 +0200 |
---|---|---|
committer | Steve Langasek <vorlon@debian.org> | 2019-01-08 21:26:03 -0800 |
commit | dc150f2311b6f2f6b7a92e723945f0d3b47e84c9 (patch) | |
tree | 06a4bc67a12ce9c1f9ba9b50971f6e35d0d05014 /debian/local | |
parent | fbcc1cb3851fabef569ed1132fb13b9bedfa6041 (diff) | |
download | pam-dc150f2311b6f2f6b7a92e723945f0d3b47e84c9.tar.gz pam-dc150f2311b6f2f6b7a92e723945f0d3b47e84c9.tar.bz2 pam-dc150f2311b6f2f6b7a92e723945f0d3b47e84c9.zip |
pam-auth-update: fix a bug in our handling of module options when the
module name contains digits, caused by a buggy regexp. :/ Partially
addresses LP #369575.
Diffstat (limited to 'debian/local')
-rwxr-xr-x | debian/local/pam-auth-update | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/local/pam-auth-update b/debian/local/pam-auth-update index 1a1a452d..7f14982d 100755 --- a/debian/local/pam-auth-update +++ b/debian/local/pam-auth-update @@ -255,7 +255,7 @@ sub merge_one_line $modline =~ s/end/$count/g; if ($diff) { my $mod = $modline; - $mod =~ s/[0-9]+//g; + $mod =~ s/(\[[^0-9]*)[0-9]+(.*\])/$1$2/g; $adds = \%{$diff->{'add'}{$mod}}; $removes = \%{$diff->{'remove'}{$mod}}; } else { |