Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor to use automated restart #9

Merged
merged 4 commits into from
Nov 24, 2019

Conversation

ryangball
Copy link
Owner

Updates:

  • Leverage --restart argument of softwareupdate for 10.13.4 and above machines
  • Removed optional --no-scan option, it is now default, (this eliminates the support for OS X 10.10 and below)
  • Refactored softwareupdate output parsing to add functionality for Catalina and updates with spaces in their names
  • Switched loop method of installing updates that do not require a restart
  • Rather than calling finish function for exit, I now trap the EXIT code and run finish function with that

@ryangball ryangball merged commit 1c7e1f2 into master Nov 24, 2019
@ryangball ryangball deleted the refactor-to-use-automated-restart branch November 26, 2019 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant