Closed mpanighetti closed 5 years ago
New commit brings pretty much all of the changes I've made to the fork I use for regular update patching. Addresses issue of 10.14 not allowing deletion of contents of /Library/Updates
(yay SIP!) and brings general 10.13/10.14 compatibility.
Excellent set of additions! Works well in my limited testing. Thank you!
$MSG_UPDATING
alert while updates are running in the background (deferred update during restart not working in 10.13+ #4)softwareupdate --list
(more accurate than reading from/Library/Updates/index.plist
, with tradeoff of longer script runtime #3) before caching updates (script exits if--list
returns no recommended results)/Library/Updates
dependencies as that path is now under SIP in macOS 10.14+softwareupdate --download
to only grab--recommended
updates (as perREADME
and the intent of the script to only trigger for security updates requiring restart)trigger_updates_at_restart
tocheck_for_updates
, moved recon/unload to dedicatedexit_without_updating
functionrun_updates
functionclean_up_before_restart
function toclean_up
(since it isn't always run as part of a restart action)build-info.plist
to2.0
README
README
to more recent builds (matching naming convention from Apple security updates)