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:
Rob Middleton
2010-11-26 08:52:00 +00:00
parent 32b7e37066
commit 1ff5d190fa
+2 -1
View File
@@ -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()