mirror of
https://github.com/munki/munki.git
synced 2026-05-08 13:29:29 -05:00
Address issue on Apple silicon where MSC prompted to install non-existent Apple updates.
This commit is contained in:
@@ -1281,7 +1281,10 @@ func appleUpdatesRequireRestartOnMojaveAndUp() -> Bool {
|
||||
|
||||
func appleUpdatesMustBeDoneWithSystemPreferences() -> Bool {
|
||||
// Return true if any item in the apple update list must be done with System Preferences Software Update
|
||||
return isAppleSilicon() || appleUpdatesRequireRestartOnMojaveAndUp()
|
||||
if isAppleSilicon() {
|
||||
return getAppleUpdates().count > 0
|
||||
}
|
||||
return appleUpdatesRequireRestartOnMojaveAndUp()
|
||||
}
|
||||
|
||||
func updatesContainNonUserSelectedItems() -> Bool {
|
||||
|
||||
Reference in New Issue
Block a user