summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2021-01-22 18:57:16 +0300
committerMikle Kolyada <zlogene@gentoo.org>2021-01-22 18:57:16 +0300
commit6ef9b63f4107b63d5a0564f7bae40b9d40b7db86 (patch)
treee4924f7e84783229f13f69739d6a2bb5e5fc937c /app-misc/screen/screen-9999.ebuild
parentnet-dialup/ppp: install pam files conditionally (diff)
downloadgentoo-6ef9b63f4107b63d5a0564f7bae40b9d40b7db86.tar.gz
gentoo-6ef9b63f4107b63d5a0564f7bae40b9d40b7db86.tar.bz2
gentoo-6ef9b63f4107b63d5a0564f7bae40b9d40b7db86.zip
app-misc/screen: install pam files conditionally
Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'app-misc/screen/screen-9999.ebuild')
-rw-r--r--app-misc/screen/screen-9999.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/app-misc/screen/screen-9999.ebuild b/app-misc/screen/screen-9999.ebuild
index 52f096401272..b61017df938f 100644
--- a/app-misc/screen/screen-9999.ebuild
+++ b/app-misc/screen/screen-9999.ebuild
@@ -129,7 +129,9 @@ src_install() {
insinto /etc
doins "${FILESDIR}"/screenrc
- pamd_mimic_system screen auth
+ if use pam; then
+ pamd_mimic_system screen auth
+ fi
dodoc "${DOCS[@]}"
}