From 2077909cdc83800f40ef929cef2ff8eab926d1ef Mon Sep 17 00:00:00 2001 From: wattsy74 <49881777+wattsy74@users.noreply.github.com> Date: Tue, 28 Sep 2021 14:50:45 +0100 Subject: [PATCH] Update Acrobat-DC-Update.sh --- Acrobat-DC-Update.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Acrobat-DC-Update.sh b/Acrobat-DC-Update.sh index 628f10d..e08aa4a 100644 --- a/Acrobat-DC-Update.sh +++ b/Acrobat-DC-Update.sh @@ -13,7 +13,7 @@ # # HISTORY # -# Version: 1.4 +# Version: 1.6 # # - v.1.0 Joe Farage, 23.01.2015 # - v.1.1 Joe Farage, 08.04.2015 : support for new Adobe Acrobat DC @@ -22,6 +22,7 @@ # seems to have abandoned support of the previous site. # - v.1.4 Martyn Watts, 24.06.2021: removed the sed -e 's/20//' as this was breaking the 2021 downloads (Lines 47 & 63) # - v.1.5 Martyn Watts, 05.07.2021: fixed the latest version lookup (Lines 41-43) +# - v.1.6 Martyn Watts, 28.09.2021: Added Open Console Parameter to use with TeamViewer # #################################################################################################### # Script to download and install Adobe Acrobat Updates. @@ -30,6 +31,10 @@ dmgfile="acrobat.dmg" logfile="/Library/Logs/AdobeAcrobatDCUpdateScript.log" +if [[ $@ == "openconsole" ]]; then + open ${logfile} +fi + # Are we running on Intel? if [ '`/usr/bin/uname -p`'="i386" -o '`/usr/bin/uname -p`'="x86_64" ]; then ## Get OS version and adjust for use with the URL string @@ -110,4 +115,4 @@ else /bin/echo "`date`: ERROR: This script is for Intel Macs only." >> ${logfile} fi -exit 0 \ No newline at end of file +exit 0