From f42ce5dbfcd89b57ed688a379f71f9017b74ad2d Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 28 Dec 2006 13:55:55 +0000 Subject: Very initial commit of vmware-workstation 6 beta... svn path=/trunk/; revision=144 --- eclass/vmware-mod.eclass | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'eclass') diff --git a/eclass/vmware-mod.eclass b/eclass/vmware-mod.eclass index 7e3fa6c..6ed25f0 100644 --- a/eclass/vmware-mod.eclass +++ b/eclass/vmware-mod.eclass @@ -37,14 +37,16 @@ vmware-mod_pkg_setup() { vmware_determine_product - case ${product} in - vmware-tools) - VMWARE_MODULE_LIST="vmdesched vmhgfs vmmemctl vmxnet" - ;; - *) - VMWARE_MODULE_LIST="vmmon vmnet" - ;; - esac + if [[ -z "${VMWARE_MODULE_LIST}" ]]; then + case ${product} in + vmware-tools) + VMWARE_MODULE_LIST="${VMWARE_MODULE_LIST}vmdesched vmhgfs vmmemctl vmxnet" + ;; + *) + VMWARE_MODULE_LIST="${VMWARE_MODULE_LIST}vmmon vmnet" + ;; + esac + fi for mod in ${VMWARE_MODULE_LIST}; do MODULE_NAMES="${MODULE_NAMES} -- cgit v1.2.3-65-gdbad