mpanighetti / install-or-defer

A framework for prompting users of Jamf Pro-managed Macs to install Apple software updates.
Apache License 2.0
147 stars 28 forks source link

#54 Found no recommended update fix #84

Closed master-vodawagner closed 10 months ago

master-vodawagner commented 2 years ago

This forces install or defer to call softwareupdate --list on the initial install of the PKG, subsequent execution of the script via the LaunchDaemon runtime length will bypass softwareupdate --list and use the existing information when prompting the user to defer or install.

54

master-vodawagner commented 2 years ago

The only problem I've found with this solution and our testing of API calls is determining when the clean_up function should be called prior to the automated restart via APNS...........

mpanighetti commented 10 months ago

This branch is somewhat out of sync with main at this point, and I've closed #54 since update reliability has been somewhat improved in later versions of macOS Ventura (and all the affected macOS releases are no longer receiving bug fixes from Apple beyond security patches). If these changes are something you still want to explore, feel free to submit an updated PR accounting for previous changes in the parent script.