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 22:16:52 +0200
commitd3dd43a57d04b20879472b9badfd9b862d5569f1 (patch)
treeb6df6929e8f03c5128c67c907729907ef53a439d /app-emulation/vmware-tools
parentapp-emulation/vmware-player: use readme.gentoo for messages, add message abou... (diff)
downloadgentoo-d3dd43a57d04b20879472b9badfd9b862d5569f1.tar.gz
gentoo-d3dd43a57d04b20879472b9badfd9b862d5569f1.tar.bz2
gentoo-d3dd43a57d04b20879472b9badfd9b862d5569f1.zip
app-emulation/vmware-tools: Warn if no operating system is chosen, bug 488240
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'app-emulation/vmware-tools')
-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 790bbe60c101..41cf86b775bd 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."
}