Update google-chrome.sh

This commit is contained in:
wattsy74
2021-09-28 14:37:14 +01:00
committed by GitHub
parent d8ab8e11bc
commit 3bcdfb8598

View File

@@ -18,6 +18,7 @@
# - 1.0 Martyn Watts, 01.07.2021 Initial Build
# - 1.1-m Michael Tanner, 18.08.2021 Adapted for Mosyle
# - 1.2 Martyn Watts, 24.09.2021 Added Check to see if dockutil is installed to make the script more resilient
# - 1.3 Martyn Watts, 28.09.2021 Added Open Console Parameter to use with TeamViewer
#
####################################################################################################
# Script to download and install Google Chrome.
@@ -32,6 +33,11 @@ forceQuit='Y'
logfile="/Library/Logs/GoogleChromeInstallScript.log"
deplog="/var/tmp/depnotify.log"
if [[ $@ == "openconsole" ]]; then
open ${logfile}
open ${deplog}
fi
echo "Status: Installing ${appName}" >> ${deplog}
# To get just the latest version number from the version check URL