Skip to content

Releases: mpanighetti/install-or-defer

Install or Defer 7.0

08 Dec 01:28
7a239e8
Compare
Choose a tag to compare

What's Changed

Full Changelog: v6.0.2...v7.0

Install or Defer 6.0.2

16 Oct 23:15
e6c3897
Compare
Choose a tag to compare

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 to sleep 30)

Full Changelog: v6.0.1...v6.0.2

Install or Defer 6.0.1

27 Mar 18:55
f874a4a
Compare
Choose a tag to compare

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 value 2 #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

17 Feb 18:47
293487e
Compare
Choose a tag to compare

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 all killall 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

15 Dec 23:35
0e8ba0e
Compare
Choose a tag to compare

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

24 Oct 23:05
5c730c6
Compare
Choose a tag to compare

What's Changed

  • switched LaunchDaemon from ProgramArguments array to Program 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 to exit_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 of install_updates with check_for_updates run (which runs exit_script/clean_up if no updates are found)

Full Changelog: v5.0.6...v5.0.7

Install or Defer 5.0.6

24 Jun 22:36
1fc6ae6
Compare
Choose a tag to compare

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

09 Jun 15:57
501fe9b
Compare
Choose a tag to compare

What's Changed

  • moved all timing variables to configuration profile keys: #86
    • DeferralPeriod: number of seconds between deferral prompts
    • HardRestartDelay: number of seconds between soft and hard restart attempts
    • PromptTimeout: number of seconds before script prompts time out
    • UpdateDelay: 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

19 May 22:17
7f4c2df
Compare
Choose a tag to compare
  • 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

28 Mar 21:55
77665d0
Compare
Choose a tag to compare
  • 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