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
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')
-rw-r--r--app-misc/screen/screen-4.8.0-r1.ebuild (renamed from app-misc/screen/screen-4.8.0.ebuild)4
-rw-r--r--app-misc/screen/screen-9999.ebuild4
2 files changed, 6 insertions, 2 deletions
diff --git a/app-misc/screen/screen-4.8.0.ebuild b/app-misc/screen/screen-4.8.0-r1.ebuild
index 22ea9a336fbc..30a4c5053768 100644
--- a/app-misc/screen/screen-4.8.0.ebuild
+++ b/app-misc/screen/screen-4.8.0-r1.ebuild
@@ -126,7 +126,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[@]}"
}
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[@]}"
}