mirror of
https://github.com/munki/munki.git
synced 2026-03-07 23:40:06 -06:00
Change preference name to UnattendedAppleUpdates
This commit is contained in:
committed by
Samuel Keeley
parent
eaf2c7b8cb
commit
3728adafe2
@@ -1660,7 +1660,7 @@ class AppleUpdates(object):
|
||||
os_version_tuple = munkicommon.getOsVersion(as_tuple=True)
|
||||
for item in apple_updates:
|
||||
if (item.get('unattended_install') or
|
||||
(munkicommon.pref('AutomaticAppleUpdates') and
|
||||
(munkicommon.pref('UnattendedAppleUpdates') and
|
||||
item.get('RestartAction', 'None') is 'None' and
|
||||
os_version_tuple >= (10, 10))):
|
||||
if munkicommon.blockingApplicationsRunning(item):
|
||||
|
||||
@@ -1214,7 +1214,7 @@ def pref(pref_name):
|
||||
'SuppressStopButtonOnInstall': False,
|
||||
'PackageVerificationMode': 'hash',
|
||||
'FollowHTTPRedirects': 'none',
|
||||
'AutomaticAppleUpdates': False,
|
||||
'UnattendedAppleUpdates': False,
|
||||
}
|
||||
pref_value = CFPreferencesCopyAppValue(pref_name, BUNDLE_ID)
|
||||
if pref_value == None:
|
||||
|
||||
Reference in New Issue
Block a user