diff options
author | Mike Gilbert <floppym@gentoo.org> | 2016-12-05 10:35:46 -0500 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2016-12-05 10:37:25 -0500 |
commit | 89f57861f1c77e7ef625456b037742d9f213666a (patch) | |
tree | d9bf7690e99c3841e847dc8209ee0456e6cd1c5e /app-emulation/open-vm-tools | |
parent | profiles: Mask media-gfx/kiconedit for removal (diff) | |
download | gentoo-89f57861f1c77e7ef625456b037742d9f213666a.tar.gz gentoo-89f57861f1c77e7ef625456b037742d9f213666a.tar.bz2 gentoo-89f57861f1c77e7ef625456b037742d9f213666a.zip |
app-emulation/open-vm-tools: fix install with pam disabled
Bug: https://bugs.gentoo.org/601640
Package-Manager: portage-2.3.2_p13
Diffstat (limited to 'app-emulation/open-vm-tools')
-rw-r--r-- | app-emulation/open-vm-tools/open-vm-tools-10.1.0.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app-emulation/open-vm-tools/open-vm-tools-10.1.0.ebuild b/app-emulation/open-vm-tools/open-vm-tools-10.1.0.ebuild index 774fa4090a8d..36bbff37c060 100644 --- a/app-emulation/open-vm-tools/open-vm-tools-10.1.0.ebuild +++ b/app-emulation/open-vm-tools/open-vm-tools-10.1.0.ebuild @@ -122,8 +122,10 @@ src_install() { default prune_libtool_files --modules - rm "${ED%/}"/etc/pam.d/vmtoolsd || die - pamd_mimic_system vmtoolsd auth account + if use pam; then + rm "${ED%/}"/etc/pam.d/vmtoolsd || die + pamd_mimic_system vmtoolsd auth account + fi newinitd "${FILESDIR}/open-vm-tools.initd" vmware-tools newconfd "${FILESDIR}/open-vm-tools.confd" vmware-tools |