From baa96767ca87f22aaefcb72dca52f12d76da4c2f Mon Sep 17 00:00:00 2001 From: Andrew Clark Date: Wed, 14 Feb 2024 15:47:36 -0500 Subject: [PATCH] Fix brandingBannerDisplayText=false not working --- Setup-Your-Mac-via-Dialog.bash | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Setup-Your-Mac-via-Dialog.bash b/Setup-Your-Mac-via-Dialog.bash index 71f25bc..ae8bebe 100755 --- a/Setup-Your-Mac-via-Dialog.bash +++ b/Setup-Your-Mac-via-Dialog.bash @@ -593,8 +593,11 @@ else fi -if [[ "${brandingBannerDisplayText}" == "true" ]]; then welcomeBannerText="Happy $( date +'%A' ), ${loggedInUserFirstname}! \nWelcome to your new ${modelName}"; -else welcomeBannerText=""; fi +if [[ "${brandingBannerDisplayText}" == "true" ]]; then + welcomeBannerText="Happy $( date +'%A' ), ${loggedInUserFirstname}! \nWelcome to your new ${modelName}" +else + welcomeBannerText=" " +fi welcomeCaption="Please review the above video, then click Continue." welcomeVideoID="vimeoid=909473114" @@ -809,7 +812,7 @@ message="Please wait while the following apps are installed …" if [[ "${brandingBannerDisplayText}" == "true" ]] ; then bannerText="Setting up ${loggedInUserFirstname}‘s ${modelName}"; else - bannerText="" + bannerText=" " fi if [ -n "$supportTeamName" ]; then