virtualization/app-emulation/vmware-workstation/files/6.5.4.246459/vmware-workstation.py.patch

24 lines
948 B
Diff
Raw Normal View History

diff --git a/vmware-workstation.py b/vmware-workstation.py
index 55476d9..8dd4c0a 100644
--- a/vmware-workstation.py
+++ b/vmware-workstation.py
@@ -4,7 +4,8 @@ Copyright 2008 VMware, Inc. All rights reserved. -- VMware Confidential
VMware Workstation component installer.
"""
DEST = LIBDIR/'vmware'
-conf = DEST/'setup/vmware-config'
+import os
+conf = path(os.environ['WORKDIR'])/'vmware-config.sh'
class Workstation(Installer):
def PreTransactionInstall(self, old, new, upgrade):
@@ -40,7 +41,7 @@ class Workstation(Installer):
self.AddPermission(DEST/'bin/*', BINARY)
eclipse = config.Get('vmware-workstation.eclipse')
- eclipse and self.AddTarget(Link, DEST/'eclipse-ivd/com.vmware.bfg_1.0.0',
+ False and self.AddTarget(Link, DEST/'eclipse-ivd/com.vmware.bfg_1.0.0',
Destination(eclipse)/'plugins/com.vmware.bfg_1.0.0')
def _vmwareMountRunnable(self, vmwareMount):