From 2a0385d30dde2d51b2f479e3a58f593f8ca717fe Mon Sep 17 00:00:00 2001 From: Theile Date: Fri, 21 Oct 2022 13:05:55 +0200 Subject: [PATCH] Check to see if Dialog CLI is also there --- MDM/Progress 1st swiftDialog.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/MDM/Progress 1st swiftDialog.sh b/MDM/Progress 1st swiftDialog.sh index f279d3d..7f7a98e 100755 --- a/MDM/Progress 1st swiftDialog.sh +++ b/MDM/Progress 1st swiftDialog.sh @@ -245,6 +245,7 @@ versionKey="CFBundleShortVersionString" #CFBundleVersion currentInstalledVersion="$(defaults read "${destFile}/Contents/Info.plist" $versionKey || true)" printlog "${name} version: $currentInstalledVersion" +destFile="/usr/local/bin/dialog" if [[ ! -e "${destFile}" || "$currentInstalledVersion" != "$appNewVersion" ]]; then printlog "$name not found or version not latest." printlog "${destFile}"