From b33e54eb289b68f8730293a40bbc075b2b75ac19 Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Tue, 29 Aug 2006 22:00:36 +0000 Subject: Added a check to see if product is blank, and run vmware-determine_product if it is... Closes bug #143150. --- eclass/vmware.eclass | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'eclass') 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. -- cgit v1.2.3-65-gdbad