diff options
| author | Simon Rettberg | 2013-06-01 20:17:16 +0200 |
|---|---|---|
| committer | Simon Rettberg | 2013-06-01 20:17:16 +0200 |
| commit | 66020de2fed830e66bd5a8ebf873f8803941dc8e (patch) | |
| tree | efcbafde68a15b985bac4d6505bc064e185b75a8 /remote/modules | |
| parent | Also move hidden files when mounting temp partition (diff) | |
| download | tm-scripts-66020de2fed830e66bd5a8ebf873f8803941dc8e.tar.gz tm-scripts-66020de2fed830e66bd5a8ebf873f8803941dc8e.tar.xz tm-scripts-66020de2fed830e66bd5a8ebf873f8803941dc8e.zip | |
[vmplayer] Fixed mounting of vmplayer NFS share
Diffstat (limited to 'remote/modules')
| -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" |
