Update Acrobat-DC-Update.sh

This commit is contained in:
wattsy74
2021-09-29 13:29:35 +01:00
committed by GitHub
parent 15a68649c6
commit 8cfa89e267

View File

@@ -13,7 +13,7 @@
#
# HISTORY
#
# Version: 1.6
# Version: 1.7
#
# - v.1.0 Joe Farage, 23.01.2015
# - v.1.1 Joe Farage, 08.04.2015 : support for new Adobe Acrobat DC
@@ -23,6 +23,7 @@
# - 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
# - v.1.7 Martyn Wattsm 29.09.2021: Added scriptver variable and sending that to the logfile to create the initial entry
#
####################################################################################################
# Script to download and install Adobe Acrobat Updates.
@@ -30,6 +31,9 @@
dmgfile="acrobat.dmg"
logfile="/Library/Logs/AdobeAcrobatDCUpdateScript.log"
scriptver="1.6"
echo "Script Version: ${scriptver}" >> ${logfile}
if [[ $@ == "openconsole" ]]; then
open ${logfile}