summaryrefslogtreecommitdiffstats
path: root/remote/modules/vmware/vmware.build
diff options
context:
space:
mode:
authorJonathan Bauer2013-11-28 13:20:39 +0100
committerJonathan Bauer2013-11-28 13:20:39 +0100
commitaae02b11b49f25f9d08a4e8dfb0e9e5701fc2456 (patch)
tree1c882ab7d2dd86cbfdf21ec1a2c987f626b1d6b9 /remote/modules/vmware/vmware.build
parent[plymouth] systemd service file to properly quit plymouth (diff)
parentMerge branch 'master' of dnbd3:openslx-ng/tm-scripts (diff)
downloadtm-scripts-aae02b11b49f25f9d08a4e8dfb0e9e5701fc2456.tar.gz
tm-scripts-aae02b11b49f25f9d08a4e8dfb0e9e5701fc2456.tar.xz
tm-scripts-aae02b11b49f25f9d08a4e8dfb0e9e5701fc2456.zip
Merge branch 'master' of git.openslx.org:openslx-ng/tm-scripts
Diffstat (limited to 'remote/modules/vmware/vmware.build')
-rw-r--r--remote/modules/vmware/vmware.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/remote/modules/vmware/vmware.build b/remote/modules/vmware/vmware.build
index 85929c17..29b7491f 100644
--- a/remote/modules/vmware/vmware.build
+++ b/remote/modules/vmware/vmware.build
@@ -40,7 +40,9 @@ build() {
cp -r ./$SRCDIR/vmware-usbarbitrator/bin "$MODULE_BUILD_DIR/usr/" || perror "Could not copy bin from vmware-usbarbitrator."
cp -r ./$SRCDIR/vmware-vmx/{bin,etc,sbin} "$MODULE_BUILD_DIR/usr/" || perror "could not copy bin,etc,sbin to usr for vmare-vmx."
cp -r ./$SRCDIR/vmware-vmx/lib/{bin,icu,lib,libconf,scripts} "$TARGET" || perror "Could not copy many things from vmware-vmx."
- [ -d "./$SRCDIR/vmware-workstation-server" ] && cp -r ./$SRCDIR/vmware-workstation-server/{bin,lib} "$TARGET" || perror "Could not copy many things from vmware-workstation-server."
+ if [ -d "./$SRCDIR/vmware-workstation-server" ]; then
+ cp -r ./$SRCDIR/vmware-workstation-server/{bin,lib} "$TARGET" || perror "Could not copy many things from vmware-workstation-server."
+ fi
[ ! -L "$TARGET/bin/vmplayer" ] && { ln -s /usr/lib/vmware/bin/appLoader "$TARGET/bin/vmplayer" || perror "Could not link vmplayer to appLoader."; }
chmod +x "$TARGET"/bin/*
chmod u+s "$TARGET"/bin/vmware-vmx* || perror "Error setting suid-bit on vmware-vmx*"