1 |
commit: 89f57861f1c77e7ef625456b037742d9f213666a |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Dec 5 15:35:46 2016 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 5 15:37:25 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89f57861 |
7 |
|
8 |
app-emulation/open-vm-tools: fix install with pam disabled |
9 |
|
10 |
Bug: https://bugs.gentoo.org/601640 |
11 |
Package-Manager: portage-2.3.2_p13 |
12 |
|
13 |
app-emulation/open-vm-tools/open-vm-tools-10.1.0.ebuild | 6 ++++-- |
14 |
1 file changed, 4 insertions(+), 2 deletions(-) |
15 |
|
16 |
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 |
17 |
index 774fa40..36bbff3 100644 |
18 |
--- a/app-emulation/open-vm-tools/open-vm-tools-10.1.0.ebuild |
19 |
+++ b/app-emulation/open-vm-tools/open-vm-tools-10.1.0.ebuild |
20 |
@@ -122,8 +122,10 @@ src_install() { |
21 |
default |
22 |
prune_libtool_files --modules |
23 |
|
24 |
- rm "${ED%/}"/etc/pam.d/vmtoolsd || die |
25 |
- pamd_mimic_system vmtoolsd auth account |
26 |
+ if use pam; then |
27 |
+ rm "${ED%/}"/etc/pam.d/vmtoolsd || die |
28 |
+ pamd_mimic_system vmtoolsd auth account |
29 |
+ fi |
30 |
|
31 |
newinitd "${FILESDIR}/open-vm-tools.initd" vmware-tools |
32 |
newconfd "${FILESDIR}/open-vm-tools.confd" vmware-tools |