From a5d111756a94d59cc63fd82b8ae36552d641dab3 Mon Sep 17 00:00:00 2001 From: wattsy74 <49881777+wattsy74@users.noreply.github.com> Date: Wed, 29 Sep 2021 17:41:20 +0100 Subject: [PATCH] Update zoom.sh --- zoom.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zoom.sh b/zoom.sh index fa1e51a..8d4b5f6 100644 --- a/zoom.sh +++ b/zoom.sh @@ -26,7 +26,7 @@ appName='Zoom.us' forceQuit='Y' logfile="/Library/Logs/ZoomInstallScript.log" deplog="/var/tmp/depnotify.log" -scriptver="1.0a" +scriptver="1.0b" architecture=$(/usr/bin/arch) userAgent="Mozilla/5.0 (Macintosh; Intel Mac OS X ${OSvers_URL}) AppleWebKit/535.6.2 (KHTML, like Gecko) Version/5.2 Safari/535.6.2" @@ -46,7 +46,7 @@ latestver=$(curl -A ${userAgent} ${releaseNotesUrl} | iconv -f windows-1251 | gr echo "Latest version available is: $latestver" -if [ $architecture == "arm64" ]; then +if [[ $architecture == "arm64" ]]; then echo "Running Apple Silicon Setting correct URL" url="https://zoom.us/client/latest/Zoom.pkg?archType=amd64" else