This commit is contained in:
Brian Zalewski 2024-01-02 01:04:29 +00:00
parent 43a2d62f06
commit 194050cbb3

View file

@ -131,7 +131,6 @@ upgradeDarwin() {
fi fi
### Run upgrade process ### Run upgrade process
HEY="$(softwareupdate -l)"
logg info 'Listing available OS upgrades' logg info 'Listing available OS upgrades'
UPDATE_CHECK="$(softwareupdate -l)" UPDATE_CHECK="$(softwareupdate -l)"
if [ "$UPDATE_CHECK" != "No new software available." ]; then if [ "$UPDATE_CHECK" != "No new software available." ]; then
@ -173,7 +172,7 @@ upgradeDarwin() {
logg info 'No reboot required for softwareupdate' logg info 'No reboot required for softwareupdate'
fi fi
fi fi
if [ -f "$HOME/.zshrc" ]; then if [ -f "$HOME/.zshrc" ]; then
logg info 'Ensuring provision kickstart script is removed from ~/.zshrc' logg info 'Ensuring provision kickstart script is removed from ~/.zshrc'
if command -v gsed > /dev/null; then if command -v gsed > /dev/null; then