From a7224fcbeafc6987b913bcf9293d60205682ca8b Mon Sep 17 00:00:00 2001 From: Theile Date: Fri, 21 Oct 2022 13:07:19 +0200 Subject: [PATCH] Check to see if dialog CLI is also there --- MDM/install swiftDialog direct.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/MDM/install swiftDialog direct.sh b/MDM/install swiftDialog direct.sh index c29d299..d318b2f 100755 --- a/MDM/install swiftDialog direct.sh +++ b/MDM/install swiftDialog direct.sh @@ -80,6 +80,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}"