diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2021-01-22 19:31:34 +0300 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2021-01-22 19:31:34 +0300 |
commit | 2fb27d8e5c7b8eb782b8c344b08d368058ede450 (patch) | |
tree | 7aaccf8630eba6d799af484d0fef704c495ca12f /net-fs | |
parent | mail-mta/postfix: install pam files conditionally (diff) | |
download | gentoo-2fb27d8e5c7b8eb782b8c344b08d368058ede450.tar.gz gentoo-2fb27d8e5c7b8eb782b8c344b08d368058ede450.tar.bz2 gentoo-2fb27d8e5c7b8eb782b8c344b08d368058ede450.zip |
net-fs/netatalk: 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-fs')
-rw-r--r-- | net-fs/netatalk/netatalk-3.1.12-r1.ebuild (renamed from net-fs/netatalk/netatalk-3.1.12.ebuild) | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/net-fs/netatalk/netatalk-3.1.12.ebuild b/net-fs/netatalk/netatalk-3.1.12-r1.ebuild index 010c1ff320ba..3e29c32f7ef0 100644 --- a/net-fs/netatalk/netatalk-3.1.12.ebuild +++ b/net-fs/netatalk/netatalk-3.1.12-r1.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 @@ -119,7 +119,11 @@ src_install() { # The pamd file isn't what we need, use pamd_mimic_system rm -rf "${ED}/etc/pam.d" || die - pamd_mimic_system netatalk auth account password session + + + if use pam; then + pamd_mimic_system netatalk auth account password session + fi sed \ -e "s|:SBINDIR:|${EPREFIX}/usr/sbin|g" \ |