Files
mac_script/SophosInstall/Deployment Tools/Install Sophos Script.txt
2024-03-11 14:27:11 +01:00

14 lines
479 B
Bash
Executable File

#!/bin/bash
SOPHOS_DIR=$(mktemp -d -t Sophos_Install)
trap 'rm -rf ${SOPHOS_DIR}' EXIT
cd $SOPHOS_DIR
# Installing Sophos
curl -L -O "put installer URL in these quotes."
unzip SophosInstall.zip
chmod a+x $SOPHOS_DIR/Sophos\ Installer.app/Contents/MacOS/Sophos\ Installer
chmod a+x $SOPHOS_DIR/Sophos\ Installer.app/Contents/MacOS/tools/com.sophos.bootstrap.helper
$SOPHOS_DIR/Sophos\ Installer.app/Contents/MacOS/Sophos\ Installer --quiet
rm -rf $SOPHOS_DIR
exit 0