Magellan Linux

Contents of /trunk/vmware-workstation/7.0.1.227600/vmware-vix.py.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1030 - (show annotations) (download)
Sun Apr 25 20:38:55 2010 UTC (14 years ago) by niro
File size: 794 byte(s)
-fixed patches

1 --- vmware-vix.py.orig 2010-02-04 19:50:56.000000000 +0100
2 +++ vmware-vix.py 2010-02-05 02:17:54.000000000 +0100
3 @@ -6,7 +6,8 @@
4 DEST = LIBDIR/'vmware-vix'
5 SETTINGS = { 'vmware.fullpath': BINDIR/'vmware',
6 'vix.libdir': DEST, }
7 -CONF = DEST/'setup/vmware-config'
8 +import os
9 +CONF = path(os.environ['SRCDIR'])/'vmware-config.sh'
10
11 class VIX(Installer):
12 def PreTransactionInstall(self, old, new, upgrade):
13 @@ -29,7 +30,7 @@
14 for key, val in SETTINGS.items():
15 self.RunCommand(CONF, '-s', key, val)
16 # Add link to deprecated uninstall mechanism to catch downgrades
17 - self.AddUninstallLinks('vix')
18 + # self.AddUninstallLinks('vix')
19
20 def PreUninstall(self, old, new, upgrade):
21 # XXX: VIX may have been removed out from underneath us if