Releases: mpanighetti/install-or-defer
Releases · mpanighetti/install-or-defer
install-or-defer 2.3.2
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
Added
- Added
/usr/bin
to$PATH
definitions (fixes an issue where third-party Python2 installs fail attempts to read system settings due to missingFoundation
andCoreFoundation
modules).
install-or-defer 2.3.0
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
- 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
- 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
- added cleanup tasks to preinstall script and
exit_without_updating
(ensuresAppleSoftwareUpdatesForcedAfter
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
- added
--no-scan
flag to--download
and--install
commands (avoids repeatedly checking for updates after initialsoftwareupdate --list
, speeding up script runtime)
install-or-defer 2.1.2
- 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
- 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
- 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
- if a restart is required, scripts runs
- 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