summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-08-29 22:00:36 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-08-29 22:00:36 +0000
commitb33e54eb289b68f8730293a40bbc075b2b75ac19 (patch)
tree43b417f966ca6e7fe8d3a31dd2ee5ea5aae55892 /eclass/vmware.eclass
parentStable on amd64 and x86. (diff)
downloadhistorical-b33e54eb289b68f8730293a40bbc075b2b75ac19.tar.gz
historical-b33e54eb289b68f8730293a40bbc075b2b75ac19.tar.bz2
historical-b33e54eb289b68f8730293a40bbc075b2b75ac19.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.eclass5
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.