From 0d2fef6a426b76d78e6f726da0afc22386691f85 Mon Sep 17 00:00:00 2001 From: Adam Codega Date: Tue, 1 Mar 2022 11:54:32 -0500 Subject: [PATCH] Updated function name for clarity --- dialogAppleScriptFunction.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dialogAppleScriptFunction.sh b/dialogAppleScriptFunction.sh index c01e73f..23e1337 100644 --- a/dialogAppleScriptFunction.sh +++ b/dialogAppleScriptFunction.sh @@ -1,6 +1,6 @@ -# this function is Bash compatible, insert the function in your script and then place displayAppleScript where you want it to be executed +# this function is Bash compatible, insert the function in your script and then place dialogAppleScript where you want it to be executed -displayAppleScript(){ +dialogAppleScript(){ message="A problem was encountered setting up this Mac. Please contact IT." currentUser=$(scutil <<< "show State:/Users/ConsoleUser" | awk '/Name :/ { print $3 }') if [[ "$currentUser" != "" ]]; then