summaryrefslogtreecommitdiff
path: root/debian/local
diff options
context:
space:
mode:
authorSteve Langasek <vorlon@debian.org>2008-08-20 02:05:11 -0700
committerSteve Langasek <steve.langasek@ubuntu.com>2019-01-03 17:28:25 -0800
commit4e07bd3e0a611ac50a5491eb674da01b6f47c43a (patch)
tree469bfa329145035d76412741704b37eedcf3a66d /debian/local
parent66e73ed6151c8c81a7a9f8163e8af86e89a2be82 (diff)
set the priority to 'high' in the case where we had an empty set of enabled
configs and had to reset to default
Diffstat (limited to 'debian/local')
-rwxr-xr-xdebian/local/pam-auth-update3
1 files changed, 1 insertions, 2 deletions
diff --git a/debian/local/pam-auth-update b/debian/local/pam-auth-update
index 532ced6d..719e0873 100755
--- a/debian/local/pam-auth-update
+++ b/debian/local/pam-auth-update
@@ -88,6 +88,7 @@ if ($diff) {
# an empty module set is an error, so grab the defaults instead
if (!@enabled) {
@enabled = grep { $profiles{$_}->{'Default'} eq 'yes' } @sorted;
+ $priority = 'high';
} elsif (-e $savedir . '/seen') {
# add any previously-unseen configs
my %seen;
@@ -127,8 +128,6 @@ EOF
do {
@conflicts = ();
- # FIXME: we probably need this priority to be 'high' in the
- # case that we've managed to get an empty set of packages
input($priority,$template);
go();