diff options
Diffstat (limited to 'os-plugins')
-rw-r--r-- | os-plugins/plugins/vmware/files/install-vmpl.sh | 11 |
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/" |