diff options
author | Steve Langasek <vorlon@debian.org> | 2010-09-02 11:39:23 -0700 |
---|---|---|
committer | Steve Langasek <vorlon@debian.org> | 2019-01-08 21:48:26 -0800 |
commit | 86dd40312382b31df6d3f00d3d9bf70a2161d6d8 (patch) | |
tree | 497ba59b8ed423b889dea0bc6c09bf85ad315917 /debian/local | |
parent | 5fcd736d7f0b7744030245e872caf06066094c34 (diff) | |
download | pam-86dd40312382b31df6d3f00d3d9bf70a2161d6d8.tar.gz pam-86dd40312382b31df6d3f00d3d9bf70a2161d6d8.tar.bz2 pam-86dd40312382b31df6d3f00d3d9bf70a2161d6d8.zip |
debian/local/pam-auth-update: Don't try to pass embedded newlines to
debconf; backslash-escape them instead and use CAPB escape.
Diffstat (limited to 'debian/local')
-rwxr-xr-x | debian/local/pam-auth-update | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/local/pam-auth-update b/debian/local/pam-auth-update index 7f14982d..2f9da0b3 100755 --- a/debian/local/pam-auth-update +++ b/debian/local/pam-auth-update @@ -29,7 +29,7 @@ use Debconf::Client::ConfModule ':all'; use IPC::Open2 'open2'; version('2.0'); -my $capb=capb('backup'); +my $capb=capb('backup escape'); my $inputdir = '/usr/share/pam-configs'; my $template = 'libpam-runtime/profiles'; @@ -200,7 +200,7 @@ do { } } if (@conflicts) { - subst($errtemplate, 'conflicts', join("\n", @conflicts)); + subst($errtemplate, 'conflicts', join("\\n", @conflicts)); input('high',$errtemplate); } set($template, join(', ', @enabled)); |