summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorSteve Langasek <vorlon@debian.org>2008-08-20 02:28:29 -0700
committerSteve Langasek <steve.langasek@ubuntu.com>2019-01-03 17:28:25 -0800
commit2ff4cd062582074fb129e6f66a39da316506f3f2 (patch)
tree3f73595426900b884d83dfce0c07353034df591b /debian
parent4e07bd3e0a611ac50a5491eb674da01b6f47c43a (diff)
don't set high priority if --force is passed, this implies that we're in the
initial config
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/local/pam-auth-update2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/local/pam-auth-update b/debian/local/pam-auth-update
index 719e0873..a9b93d62 100755
--- a/debian/local/pam-auth-update
+++ b/debian/local/pam-auth-update
@@ -88,7 +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';
+ $priority = 'high' unless ($force);
} elsif (-e $savedir . '/seen') {
# add any previously-unseen configs
my %seen;