summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2021-01-24 13:40:36 +0300
committerMikle Kolyada <zlogene@gentoo.org>2021-01-24 13:40:55 +0300
commit0ff839bf91dfcc8d13aac35368e73a5b5b2bf69f (patch)
treecda43a13748fbee05ef5c1a42cfefbece705ff0e /net-misc/netkit-rsh
parentdev-ml/pcre-ocaml: maintainer is ml (diff)
downloadgentoo-0ff839bf91dfcc8d13aac35368e73a5b5b2bf69f.tar.gz
gentoo-0ff839bf91dfcc8d13aac35368e73a5b5b2bf69f.tar.bz2
gentoo-0ff839bf91dfcc8d13aac35368e73a5b5b2bf69f.zip
net-misc/netkit-rsh: 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 'net-misc/netkit-rsh')
-rw-r--r--net-misc/netkit-rsh/netkit-rsh-0.17-r11.ebuild (renamed from net-misc/netkit-rsh/netkit-rsh-0.17-r10.ebuild)7
1 files changed, 5 insertions, 2 deletions
diff --git a/net-misc/netkit-rsh/netkit-rsh-0.17-r10.ebuild b/net-misc/netkit-rsh/netkit-rsh-0.17-r11.ebuild
index 1a2b3b50ee4e..9b64b5b6e695 100644
--- a/net-misc/netkit-rsh/netkit-rsh-0.17-r10.ebuild
+++ b/net-misc/netkit-rsh/netkit-rsh-0.17-r11.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -64,7 +64,10 @@ src_install() {
doman ${b}/${b}.1
if [[ ${b} != rcp ]]; then
newins "${FILESDIR}"/${b}.xinetd ${b}
- newpamd "${FILESDIR}/${b}.pamd-pambase" ${b}
+
+ if use pam; then
+ newpamd "${FILESDIR}/${b}.pamd-pambase" ${b}
+ fi
fi
fi
done