mirror of
https://github.com/munki/munki.git
synced 2026-04-22 20:48:36 -05:00
applesoftwareupdatesonly is not global / not in this scope
git-svn-id: http://munki.googlecode.com/svn/trunk@929 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
@@ -184,7 +184,8 @@ def doInstallTasks(only_forced=False):
|
||||
if not only_forced:
|
||||
appleupdates.clearAppleUpdateInfo()
|
||||
elif ((munkicommon.pref('InstallAppleSoftwareUpdates') or
|
||||
applesoftwareupdatesonly) and not only_forced):
|
||||
munkicommon.pref('AppleSoftwareUpdatesOnly'))
|
||||
and not only_forced):
|
||||
# are we supposed to handle Apple Software Updates?
|
||||
try:
|
||||
need_to_restart = appleupdates.installAppleUpdates()
|
||||
|
||||
Reference in New Issue
Block a user