summaryrefslogtreecommitdiff
path: root/debian/local/pam-auth-update
diff options
context:
space:
mode:
Diffstat (limited to 'debian/local/pam-auth-update')
-rwxr-xr-xdebian/local/pam-auth-update6
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/local/pam-auth-update b/debian/local/pam-auth-update
index 7f14982d..7010cdca 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));
@@ -271,7 +271,7 @@ sub merge_one_line
$i--;
}
}
- return $modline . " " . join(' ',@opts,keys(%{$adds})) . "\n";
+ return $modline . " " . join(' ',@opts,sort keys(%{$adds})) . "\n";
}
# return the lines for a given config name, type, and position in the stack