aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdebian/local/pam-auth-update3
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);
}