diff options
Diffstat (limited to 'remote/modules/vmplayer')
| -rw-r--r-- | remote/modules/vmplayer/vmplayer.build | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/remote/modules/vmplayer/vmplayer.build b/remote/modules/vmplayer/vmplayer.build index 70143a7e..fc18936e 100644 --- a/remote/modules/vmplayer/vmplayer.build +++ b/remote/modules/vmplayer/vmplayer.build @@ -1,10 +1,10 @@ fetch_source() { #mount vmware bundle directory - [ ! -d /mnt/store/vmware ] && mkdir -p /mnt/store/vmware - if [ "x$(ls /mnt/store/vmware)" == "x" ]; then - mount -t nfs -o ro,async,nolock 132.230.8.113:/srv/vmext /mnt/store/vmware || perror "Could not mount vmware bundle directory. Exiting." + [ ! -d /mnt/store ] && mkdir -p /mnt/store + if [ "x$(ls /mnt/store)" == "x" ]; then + mount -t nfs -o ro,async,nolock 132.230.8.113:/srv/vmext /mnt/store || perror "Could not mount vmware bundle directory. Exiting." fi - ARCH=$(uname -m) + ARCH="$(uname -m)" [ "$ARCH" = "i686" ] && ARCH=i386 local BUNDLE="$(find /mnt/store/vmware -type f -name "VMware-Player*.${ARCH}.bundle" | head -1)" [ -z "$BUNDLE" ] && perror "Could not find vmplayer at /mnt/store for ARCH = $ARCH" |
