summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm
diff options
context:
space:
mode:
authorDirk von Suchodoletz2008-04-17 23:22:53 +0200
committerDirk von Suchodoletz2008-04-17 23:22:53 +0200
commit052d9b784401a902b33c3b8a67a5eda5d5fdbf37 (patch)
treeafc2aa4bc5cb2c1e08ca3a9150fec5b1d0a592fd /os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm
parentPutting "quotation marks" to the filename fixed a set (diff)
downloadcore-052d9b784401a902b33c3b8a67a5eda5d5fdbf37.tar.gz
core-052d9b784401a902b33c3b8a67a5eda5d5fdbf37.tar.xz
core-052d9b784401a902b33c3b8a67a5eda5d5fdbf37.zip
It seems to be more convinient to check the real thing, not the
wrapper ... (linked elsewhere if script was run already) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1748 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm')
-rw-r--r--os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm b/os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm
index dbc6a1f6..5214bde9 100644
--- a/os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm
+++ b/os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm
@@ -209,7 +209,7 @@ sub installationPhase
# test if we use vmplayer or vmware
#TODO: error handling if non installed or not supported
# version of local
- if(-e "/usr/bin/vmware"){
+ if(-e "/usr/lib/vmware/bin/vmware"){
$vmfile = "vmware";
# system() don't work, backticks or qx() needed!
$vmversion =
@@ -218,7 +218,7 @@ sub installationPhase
chomp($vmversion);
rename ("/usr/bin/$vmfile", "/usr/bin/$vmfile.slx-bak");
linkFile("/var/X11R6/bin/$vmfile", "/usr/bin/$vmfile");
- } elsif (-e "/usr/bin/vmplayer") {
+ } elsif (-e "/usr/lib/vmware/bin/vmware") {
$vmfile = "vmplayer";
$vmversion =
qx(vmplayer -v|sed 's/VMware Player //'|sed 's/\..*//');