diff options
author | Steve Langasek <vorlon@debian.org> | 2011-10-30 15:06:55 -0400 |
---|---|---|
committer | Steve Langasek <vorlon@debian.org> | 2019-01-08 22:11:48 -0800 |
commit | f173055c79fe20fa4d56623eb28a7584467930de (patch) | |
tree | 6ebf9aa55465ca8d43087984cb9e341c807369d3 /debian/local | |
parent | 336cc6613a41b1503e658ae2158caaf7e9a87688 (diff) | |
download | pam-f173055c79fe20fa4d56623eb28a7584467930de.tar.gz pam-f173055c79fe20fa4d56623eb28a7584467930de.tar.bz2 pam-f173055c79fe20fa4d56623eb28a7584467930de.zip |
debian/libpam-runtime.templates, debian/local/pam-auth-update: add a
new 'title' template, so pam-auth-update doesn't give a blank title
when called outside of a maintainer script. LP: #882794.
Diffstat (limited to 'debian/local')
-rwxr-xr-x | debian/local/pam-auth-update | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/local/pam-auth-update b/debian/local/pam-auth-update index 7010cdca..4af12339 100755 --- a/debian/local/pam-auth-update +++ b/debian/local/pam-auth-update @@ -36,6 +36,7 @@ my $template = 'libpam-runtime/profiles'; my $errtemplate = 'libpam-runtime/conflicts'; my $overridetemplate = 'libpam-runtime/override'; my $blanktemplate = 'libpam-runtime/no_profiles_chosen'; +my $titletemplate = 'libpam-runtime/title'; my $confdir = '/etc/pam.d'; my $savedir = '/var/lib/pam'; my (%profiles, @sorted, @enabled, @conflicts, @new, %removals); @@ -148,6 +149,8 @@ my $prev = ''; # user, at any priority level, unless explicitly called. @new = grep { !$seen{$_} } @sorted; +settitle($titletemplate); + # if diff_profiles() fails, and we weren't passed a 'force' argument # (because this isn't an upgrade from an old version, or the checksum # didn't match, or we're being called by some other module package), prompt |