aboutsummaryrefslogtreecommitdiffstats
path: root/community/open-vm-tools
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2020-03-08 12:41:07 +0100
committerJakub Jirutka <jakub@jirutka.cz>2020-03-08 20:33:03 +0100
commit9f3f0c368133f60cc5bf98f906bcafe102e76fad (patch)
tree4ec497f2d3e65b654374adf6faccd3cdb9689937 /community/open-vm-tools
parenta670b3f208d7c88e34dcb1fa5f2ee55b3aea8380 (diff)
downloadaports-9f3f0c368133f60cc5bf98f906bcafe102e76fad.tar.bz2
aports-9f3f0c368133f60cc5bf98f906bcafe102e76fad.tar.xz
community/open-vm-tools: move script vm-support to /usr/sbin
It requires root privileges to run.
Diffstat (limited to 'community/open-vm-tools')
-rw-r--r--community/open-vm-tools/APKBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/community/open-vm-tools/APKBUILD b/community/open-vm-tools/APKBUILD
index 0e2cf61007..8f4ad49e08 100644
--- a/community/open-vm-tools/APKBUILD
+++ b/community/open-vm-tools/APKBUILD
@@ -133,9 +133,11 @@ package() {
cd "$pkgdir"
- chmod -x ./etc/vmware-tools/*.conf*
+ chmod -x "$confdir"/*.conf*
mv "$confdir"/tools.conf.example "$confdir"/tools.conf
- mv "$confdir"/vm-support ./usr/bin/vm-support
+
+ mkdir -p ./usr/sbin
+ mv "$confdir"/vm-support ./usr/sbin/vm-support
# *-vm-default scripts are identical and they are not supposed to be
# modified by the user, so move the script to /usr/share and symlink back.