summaryrefslogtreecommitdiff
path: root/debian/local/pam-auth-update
diff options
context:
space:
mode:
authorSteve Langasek <vorlon@debian.org>2010-09-02 17:14:05 -0700
committerSteve Langasek <vorlon@debian.org>2019-01-08 21:48:26 -0800
commit11bc1acede77e0096af0255c2aa2c9ba35256de1 (patch)
tree7c7b281eabb19447597a65c29bdefe6488fc9711 /debian/local/pam-auth-update
parent86dd40312382b31df6d3f00d3d9bf70a2161d6d8 (diff)
debian/local/pam-auth-update: sort additional module options before
writing them out, so that we don't wind up with a different config file on every invocation. Thanks to Jim Paris <jim@jtan.com> for the patch. Closes: #594123.
Diffstat (limited to 'debian/local/pam-auth-update')
-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 2f9da0b3..7010cdca 100755
--- a/debian/local/pam-auth-update
+++ b/debian/local/pam-auth-update
@@ -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