summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/vmware/files/install-vmpl.sh
diff options
context:
space:
mode:
authorVolker Uhrig2008-07-01 21:42:33 +0200
committerVolker Uhrig2008-07-01 21:42:33 +0200
commit470a2ceaaac9da8232a946f5ae3071175a05232c (patch)
tree44f078e234229091c273fdb0bd04246a7e9c8134 /os-plugins/plugins/vmware/files/install-vmpl.sh
parent* written in wrong file and removed deprecated install scripts (diff)
downloadcore-470a2ceaaac9da8232a946f5ae3071175a05232c.tar.gz
core-470a2ceaaac9da8232a946f5ae3071175a05232c.tar.xz
core-470a2ceaaac9da8232a946f5ae3071175a05232c.zip
* fixes
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1897 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/vmware/files/install-vmpl.sh')
-rw-r--r--os-plugins/plugins/vmware/files/install-vmpl.sh11
1 files changed, 6 insertions, 5 deletions
diff --git a/os-plugins/plugins/vmware/files/install-vmpl.sh b/os-plugins/plugins/vmware/files/install-vmpl.sh
index 6557aaf8..7fa107ad 100644
--- a/os-plugins/plugins/vmware/files/install-vmpl.sh
+++ b/os-plugins/plugins/vmware/files/install-vmpl.sh
@@ -1,13 +1,14 @@
#!/bin/sh
-if [ $1 = "vmpl1.0" ]; then
+if [ "$1" == "vmpl1.0" ]; then
vmplversion="vmpl1.0"
url=http://download3.vmware.com/software/vmplayer/VMware-player-2.0.4-93057.i386.tar.gz
tgzfile=VMware-player-2.0.4-93057.i386.tar.gz
-else if [ $1 = "vmpl2.0" ]; then
- vmplversion="vmpl2.0"
- url=http://download3.vmware.com/software/vmplayer/VMware-player-2.0.4-93057.i386.tar.gz
- tgzfile=VMware-player-2.0.4-93057.i386.tar.gz
+else if [ "$1" == "vmpl2.0" ]; then
+ vmplversion="vmpl2.0"
+ url=http://download3.vmware.com/software/vmplayer/VMware-player-2.0.4-93057.i386.tar.gz
+ tgzfile=VMware-player-2.0.4-93057.i386.tar.gz
+ fi
fi
echo "This script will download and install vmplayer from http://www.vmware.com/"