summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2020-10-14 21:21:37 +0300
committerMikle Kolyada <zlogene@gentoo.org>2020-10-14 21:21:37 +0300
commit4e3e4b6550cd186b1fffcad59bbf1de9d1d757c7 (patch)
tree6f72280ff7b679a446822c963b89f2157f09f857 /eclass
parentmedia-sound/pulseeffects: 4.8.2 cleanup (diff)
downloadgentoo-4e3e4b6550cd186b1fffcad59bbf1de9d1d757c7.tar.gz
gentoo-4e3e4b6550cd186b1fffcad59bbf1de9d1d757c7.tar.bz2
gentoo-4e3e4b6550cd186b1fffcad59bbf1de9d1d757c7.zip
pam.eclass: allow modules substacking
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/pam.eclass6
1 files changed, 1 insertions, 5 deletions
diff --git a/eclass/pam.eclass b/eclass/pam.eclass
index 271751131b59..97fcb89d3f5b 100644
--- a/eclass/pam.eclass
+++ b/eclass/pam.eclass
@@ -182,11 +182,7 @@ pamd_mimic() {
originalstack=$1
authlevels="auth account password session"
- if has_version '<sys-libs/pam-0.78'; then
- mimic="\trequired\t\tpam_stack.so service=${originalstack}"
- else
- mimic="\tinclude\t\t${originalstack}"
- fi
+ mimic="\tsubstack\t\t${originalstack}"
shift; shift