diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-08-29 22:00:36 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-08-29 22:00:36 +0000 |
commit | 1260ffffdca1bc1355db5f00d55714a6ae216ff5 (patch) | |
tree | 8117e0cd8c1f39aa6b86ea20297e3b4f25bcc265 /eclass/vmware.eclass | |
parent | Stable on amd64 and x86. (diff) | |
download | gentoo-2-1260ffffdca1bc1355db5f00d55714a6ae216ff5.tar.gz gentoo-2-1260ffffdca1bc1355db5f00d55714a6ae216ff5.tar.bz2 gentoo-2-1260ffffdca1bc1355db5f00d55714a6ae216ff5.zip |
Added a check to see if product is blank, and run vmware-determine_product if it is... Closes bug #143150.
Diffstat (limited to 'eclass/vmware.eclass')
-rw-r--r-- | eclass/vmware.eclass | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/vmware.eclass b/eclass/vmware.eclass index 04fe349a0729..4dbc08b447a4 100644 --- a/eclass/vmware.eclass +++ b/eclass/vmware.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/vmware.eclass,v 1.5 2006/08/25 20:07:36 ikelos Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/vmware.eclass,v 1.6 2006/08/29 22:00:36 wolf31o2 Exp $ # This eclass is for all vmware-* ebuilds in the tree and should contain all # of the common components across the multiple packages. @@ -289,6 +289,9 @@ vmware_src_install() { } vmware_pkg_preinst() { + # This is run here due to bug #143150 + [ -z "${product}" ] && vmware_determine_product + # This must be done after the install to get the mtimes on each file # right. |