summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Huettel (dilfridge) <dilfridge@gentoo.org>2015-09-12 20:31:44 +0200
committerAndreas K. Huettel (dilfridge) <dilfridge@gentoo.org>2015-09-12 20:31:44 +0200
commite5237f123b2fea939e26dd6a03def6e82e2814c6 (patch)
tree873a9a0243a443c54e9b80cdba60f75bd4dd57a5
parentapp-emulation/vmware-player: use readme.gentoo for messages, add message abou... (diff)
downloadvmware-e5237f123b2fea939e26dd6a03def6e82e2814c6.tar.gz
vmware-e5237f123b2fea939e26dd6a03def6e82e2814c6.tar.bz2
vmware-e5237f123b2fea939e26dd6a03def6e82e2814c6.zip
app-emulation/vmware-tools: Warn if no operating system is chosen, bug 488240
Package-Manager: portage-2.2.20.1
-rw-r--r--app-emulation/vmware-tools/vmware-tools-9.9.3.2780323.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/app-emulation/vmware-tools/vmware-tools-9.9.3.2780323.ebuild b/app-emulation/vmware-tools/vmware-tools-9.9.3.2780323.ebuild
index 790bbe6..41cf86b 100644
--- a/app-emulation/vmware-tools/vmware-tools-9.9.3.2780323.ebuild
+++ b/app-emulation/vmware-tools/vmware-tools-9.9.3.2780323.ebuild
@@ -46,9 +46,13 @@ src_unpack() {
src_install() {
insinto "${VM_INSTALL_DIR}"/lib/vmware/isoimages
+ local somethingdone;
local guest ; for guest in ${IUSE_VMWARE_GUEST} ; do
if use "vmware_guest_${guest}" ; then
doins "${guest}".iso{,.sig}
+ somethingdone=yes
fi
done
+
+ [ -n "${somethingdone}" ] || ewarn "You should set VMWARE_GUEST in make.conf to specify which operating systems you need."
}