Releases: mpanighetti/install-or-defer
Releases · mpanighetti/install-or-defer
Install or Defer 7.0
Install or Defer 6.0.2
What's Changed
- removed macOS Sonoma from
softwareupdate --list
on Macs running macOS Ventura or older #102- added README note on macOS bug where deferred major macOS updates are sometimes presented as minor updates, with suggested workaround to also defer minor updates
- removed
restart_softwareupdate_daemon
input variable (set all instances tosleep 30
)
Full Changelog: v6.0.1...v6.0.2
Install or Defer 6.0.1
What's Changed
- updated version requirement for ignoring macOS Ventura releases in
softwareupdate --list
output to include macOS Big Sur #96 - added power adapter note to all alert messages #83
- added alert timeout as possible cause for
jamfHelper
return value2
#99 - updated version requirement for
restart_softwareupdate_daemon
(no longer recommended in macOS Ventura 13.3 or later) - used bundle identifier for default plist file name
Full Changelog: v6.0...v6.0.1
Install or Defer 6.0
What's Changed
- added macOS Ventura compatibility #93
- removed all references to System Preferences as app name is not consistent across all supported macOS releases
- added Software Update icon path for macOS Ventura and later
- removed macOS Mojave compatibility
- added
quit_jamfhelper
function (replaces allkillall jamfhelper
runs) - added
bail_out
check for valid Jamf Pro URL definition - improved manual update check logic
Full Changelog: v5.0.8...v6.0
Install or Defer 5.0.8
What's Changed
- excluded MDM-deferred updates from enforcement #94
- added macOS Monterey-specific workaround for macOS Ventura updates not properly labeled as deferred
Full Changelog: v5.0.7...v5.0.8
Install or Defer 5.0.7
What's Changed
- switched LaunchDaemon from
ProgramArguments
array toProgram
string #91 - moved bailout logic to
bail_out
function to speed up error exits - removed unused helper script and LaunchDaemon references
- added LaunchDaemon load output to stdout in postinstall
- moved update list-formatting into
format_update_list
function to allow running software update checks separately from formatting the output- formatted update list is now written to plist for later reference and reuse (not yet implemented)
- renamed
exit_without_updating
toexit_script
- function is called if there are no recommended updates or if there are no updates at all, with separate stdout messages for each case
- replaced
clean_up
run at end ofinstall_updates
withcheck_for_updates
run (which runsexit_script
/clean_up
if no updates are found)
Full Changelog: v5.0.6...v5.0.7
Install or Defer 5.0.6
What's Changed
- fixed convert_seconds timing bug where the function was undefined before being called #87
Full Changelog: v5.0.5...v5.0.6
Install or Defer 5.0.5
What's Changed
- moved all timing variables to configuration profile keys: #86
DeferralPeriod
: number of seconds between deferral promptsHardRestartDelay
: number of seconds between soft and hard restart attemptsPromptTimeout
: number of seconds before script prompts time outUpdateDelay
: number of seconds between final alert and soft restart attempt
- regrouped all configuration profile keys in script reference and README by category
- added munkipkg run steps and prerequisites to README along with a link to the project for documentation reference
Full Changelog: v5.0.4...v5.0.5
Install or Defer 5.0.4
- added
DisablePostInstallAlert
configuration profile key (suppresses the persistent alert to run manual updates) #82 - consolidated
$CURRENT_USER
and$USER_ID
variable definitions - separated prompt-parsing logic into nested
if
statements for improved script legibility
Full Changelog: v5.0.3...v5.0.4
Install or Defer 5.0.3
- added
ManualUpdates
configuration profile key (prompts users to run updates manually via System Preferences, optionally mirroring Apple Silicon script behavior on Intel Macs) - updated default alert messaging to remove note to quit applications (most enforced updates do not have corresponding applications to quit, e.g. macOS Monterey 12.3)
Full Changelog: v5.0.2...v5.0.3