2015-11-29 15:00:53 +01:00
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
|
2018-10-10 11:23:34 +02:00
|
|
|
echo "Get macOS VMware Tools 3.0.2"
|
2018-10-01 20:55:52 +02:00
|
|
|
echo "==============================="
|
|
|
|
echo "(c) Dave Parsons 2015-18"
|
2015-11-29 15:00:53 +01:00
|
|
|
|
|
|
|
# Ensure we only use unmodified commands
|
|
|
|
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
|
|
|
|
|
|
|
|
# Make sure only root can run our script
|
|
|
|
if [[ $EUID -ne 0 ]]; then
|
|
|
|
echo "This script must be run as root" 1>&2
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
echo Getting VMware Tools...
|
2022-02-13 13:26:22 +01:00
|
|
|
python3 ./gettools.py
|
2017-10-05 14:25:05 +02:00
|
|
|
cp ./tools/darwin*.* /usr/lib/vmware/isoimages/
|
2015-11-29 15:00:53 +01:00
|
|
|
|
|
|
|
echo Finished!
|
|
|
|
|