From 018661e0a622b40f2658917216f2e4bc0934b72c Mon Sep 17 00:00:00 2001 From: wattsy74 <49881777+wattsy74@users.noreply.github.com> Date: Tue, 28 Sep 2021 14:52:43 +0100 Subject: [PATCH] Update LibreOffice.sh --- LibreOffice.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/LibreOffice.sh b/LibreOffice.sh index bce0ff4..6d2f9cf 100644 --- a/LibreOffice.sh +++ b/LibreOffice.sh @@ -13,13 +13,14 @@ # # HISTORY # -# Version: 1.3 +# Version: 1.6 # # - Joe Farage, 18.03.2015 # - Chris Hansen, 14.05.2020 Some square brackets change to double square brackets # - Martyn Watts, 24.05.2020 Removed Language Variables as they are not needed and results were inconsistent # - Martyn Watts, 30.06.2021 Added dock icon for all users using dockutil (prerequisite) # - Michael Tanner, 18.08.2021 Adapted for use with Mosyle +# - Martyn Watts, 28.09.2021 Added Open Console Parameter to use with TeamViewer - Corrected Version numbering # #################################################################################################### # Script to download and install Firefox. @@ -30,6 +31,11 @@ dmgfile="FF.dmg" logfile="/Library/Logs/FirefoxInstallScript.log" deplog="/var/tmp/depnotify.log" +if [[ $@ == "openconsole" ]]; then + open ${logfile} + open ${deplog} +fi + echo "Status: Installing Firefox" >> ${deplog} # Are we running on Intel? @@ -103,4 +109,4 @@ else /bin/echo "`date`: ERROR: This script is for Intel Macs only." >> ${logfile} fi echo "Command: DeterminateManualStep: 1" >> ${deplog} -exit 0 \ No newline at end of file +exit 0