From b9f514781a2fdd4b47f88f0612e34d0ec1193a24 Mon Sep 17 00:00:00 2001 From: Michael <30936296+mtan93@users.noreply.github.com> Date: Mon, 14 Nov 2022 18:15:01 +0000 Subject: [PATCH] Delete update-macos-version.sh --- update-macos-version.sh | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 update-macos-version.sh diff --git a/update-macos-version.sh b/update-macos-version.sh deleted file mode 100644 index 566c845..0000000 --- a/update-macos-version.sh +++ /dev/null @@ -1,29 +0,0 @@ -#DEVSCRIPT - -# VERSION MUST BE PASSED THROUGH CONSOLE (EXPORTED) FOR $MOSVERSION - -#CHECKS FOR REQUIRED FILES -if [ ! -e "/usr/local/Installomator/Installomator.sh" ]; then - curl -s https://raw.githubusercontent.com/PurpleComputing/mdmscripts/main/Installomator.sh?v=123$(date +%s) | bash -fi -if [ ! -e "/usr/local/bin/dialog" ]; then - /usr/local/Installomator/Installomator.sh swiftdialog NOTIFY=silent BLOCKING_PROCESS_ACTION=kill -fi -if [ ! -e "/Applications/Utilities/DEPNotify.app/Contents/MacOS/DEPNotify" ]; then - /usr/local/Installomator/Installomator.sh depnotify NOTIFY=silent BLOCKING_PROCESS_ACTION=kill -fi - -if [ "$SHOWDIALOG" == "Y" ]; then - echo "Dialog will open" - /usr/local/bin/dialog dialog --title "Purple Managed macOS Updates" --message "**WARNING: Restart Required** \n\nYou are about to install an OS update which could take up to 1 hour 30 minutes to install. \n\n Please confirm you have saved all work and wish to continue?" --blurscreen --icon "https://www.apple.com/newsroom/images/product/os/macos/standard/Apple-WWDC22-macOS-Ventura-Spotlight-show-220606_big.jpg.large.jpg" --overlayicon warning --ontop --button1text "Continue" --button1shellaction "curl -s https://raw.githubusercontent.com/grahampugh/erase-install/main/erase-install.sh | sudo bash /dev/stdin --reinstall --depnotify --check-power --power-wait-limit 180 --update --os=$MOSVERSION" --button2text "Later" - -else - echo "Dialog will not open" - echo Continuing... - curl -s https://raw.githubusercontent.com/grahampugh/erase-install/main/erase-install.sh | sudo bash /dev/stdin --reinstall --depnotify --check-power --power-wait-limit 180 --update --os=$MOSVERSION -fi - -#PROMPTS WITH INSTALL - -#EXITS -exit 0