mirror of
https://github.com/PurpleComputing/mdmscripts.git
synced 2026-06-10 20:20:32 +01:00
Update google-chrome.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user