Skip to content

Releases: mpanighetti/install-or-defer

install-or-defer 2.3.2

24 Sep 00:27
fe883ce
Compare
Choose a tag to compare

Added:

  • Added explicit unload of helper LaunchDaemon (fixes an issue where the process persists if the enforced updates do not require a restart, e.g. Safari).

install-or-defer 2.3.1

24 Sep 00:26
edcc700
Compare
Choose a tag to compare

Added

  • Added /usr/bin to $PATH definitions (fixes an issue where third-party Python2 installs fail attempts to read system settings due to missing Foundation and CoreFoundation modules).

install-or-defer 2.3.0

16 Jul 16:03
591700b
Compare
Choose a tag to compare

Added

  • if a custom software update URL is set, the script now checks that URL for reachability before proceeding

install-or-defer 2.2.0.1

15 Jul 23:29
bec6944
Compare
Choose a tag to compare
  • Generalized $MSG_ACT_OR_DEFER to refer to "IT" rather than "ExampleCorp" to allow usage of the script or the packaged build without environment-specific modifications

install-or-defer 2.2

04 Jun 23:06
0f0c65d
Compare
Choose a tag to compare
  • added option for custom $MAX_DEFERRAL_TIME and $SKIP_DEFERRAL settings defined by configuration profiles, or if undefined, reverts to script default (allows for managing deferral periods without making the change in the script and repackaging)
  • standardized casing (UpperCamelCase for CFPreferences, ALL_CAPS_WITH_UNDERSCORES for variables)

install-or-defer 2.1.4

14 May 20:59
39c2f23
Compare
Choose a tag to compare
  • added cleanup tasks to preinstall script and exit_without_updating (ensures AppleSoftwareUpdatesForcedAfter attribute doesn't persist between script reinstalls)
  • made $BUNDLE_ID LaunchDaemon unload conditional on file existing (reduces error output)

install-or-defer 2.1.3

11 Apr 21:27
63e1d45
Compare
Choose a tag to compare
  • added --no-scan flag to --download and --install commands (avoids repeatedly checking for updates after initial softwareupdate --list, speeding up script runtime)

install-or-defer 2.1.2

11 Apr 20:36
a92811a
Compare
Choose a tag to compare
  • added shutdown workflow for BridgeOS updates (detects string in softwareupdate --install --all output indicating a shutdown is required rather than a restart, changes restart function to shut down instead) #10

install-or-defer 2.1.1

11 Apr 20:36
93900b9
Compare
Choose a tag to compare
  • moved update check after deferral period check (reduces amount of softwareupdate processes running in the background between deferral periods)
  • switched to Software Update icon as default alert branding
  • reworded some echo output
  • consolidated dynamic substitiution notes in README
  • consistent indent spacing in script

install-or-defer 2.1

11 Apr 20:35
2d1ee03
Compare
Choose a tag to compare
  • made system restart conditional on an update requiring it (and made the corresponding messaging variable based on restart requirement)
    • if a restart is required, scripts runs --all updates and restarts on completion
    • if a restart is not required, script only runs --recommended updates
  • consolidated MESSAGING description
  • renamed functions and variables to reflect new behaviors
  • increased recommended minimum macOS to 10.12+
  • formatting changes for consistent spacing and labeling
  • switched example smart groups in README to use regex for shorter queries (left old behavior in separate example for older versions of Jamf Pro)
  • added example of a recommended update that doesn't require a restart to README
  • updated screenshots in README to reflect current script behavior