summaryrefslogtreecommitdiffstats
path: root/remote/modules/vmplayer
diff options
context:
space:
mode:
authorMichael Neves2013-05-14 18:55:53 +0200
committerMichael Neves2013-05-14 18:55:53 +0200
commit369c9ec48d3aba19cf3cef32cae69a73433bc694 (patch)
tree3e264ee196f458fa285a8c81a2b51725e3a184b4 /remote/modules/vmplayer
parentadd index.theme for vmplayer icons (diff)
parentMerge branch 'master' of dnbd3:openslx-ng/tm-scripts (diff)
downloadtm-scripts-369c9ec48d3aba19cf3cef32cae69a73433bc694.tar.gz
tm-scripts-369c9ec48d3aba19cf3cef32cae69a73433bc694.tar.xz
tm-scripts-369c9ec48d3aba19cf3cef32cae69a73433bc694.zip
Merge branch 'master' of git.openslx.org:openslx-ng/tm-scripts
Diffstat (limited to 'remote/modules/vmplayer')
-rw-r--r--remote/modules/vmplayer/vmplayer.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/remote/modules/vmplayer/vmplayer.build b/remote/modules/vmplayer/vmplayer.build
index dbe170a9..8589c245 100644
--- a/remote/modules/vmplayer/vmplayer.build
+++ b/remote/modules/vmplayer/vmplayer.build
@@ -1,7 +1,9 @@
fetch_source() {
#mount vmware bundle directory
[ ! -d /mnt/store/vmware ] && mkdir -p /mnt/store/vmware
- mount -t nfs -o ro,async,nolock 132.230.8.113:/srv/vmext /mnt/store/vmware || perror "Could not mount vmware bundle directory. Exiting."
+ 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."
+ fi
ARCH=$(uname -m)
[ "$ARCH" = "i686" ] && ARCH=i386
local BUNDLE="$(find /mnt/store/vmware -type f -name "VMware-Player*.${ARCH}.bundle" | head -1)"