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>
This commit is contained in:
Mikle Kolyada
2021-01-22 18:57:16 +03:00
parent 5ecd2ae795
commit 6ef9b63f41
2 changed files with 6 additions and 2 deletions

View File

@@ -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[@]}"
}

View File

@@ -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[@]}"
}