diff options
-rwxr-xr-x | debian/local/pam-auth-update | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/debian/local/pam-auth-update b/debian/local/pam-auth-update index 4f41f264..bbb1a876 100755 --- a/debian/local/pam-auth-update +++ b/debian/local/pam-auth-update @@ -69,7 +69,11 @@ sub parse_pam_profile while (<PROFILE>) { if (/^(\S+):\s+(.*)$/) { $fieldname = $1; - $profile{$1} = $2; + if ($fieldname eq 'Conflicts') { + @{$profile{1}} = split(/, /, $2); + } else { + $profile{$1} = $2; + } } else { chomp; $profile{$fieldname} .= "\n$_"; |