mirror of
https://github.com/munki/munki.git
synced 2026-05-08 05:19:31 -05:00
D'oh! Part two of fix for logoutinstalls with available Apple Updates, but no available munki updates
git-svn-id: http://munki.googlecode.com/svn/trunk@323 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
@@ -390,7 +390,14 @@ def appleSoftwareUpdatesAvailable(forcecheck=False, suppresscheck=False):
|
||||
return writeAppleUpdatesFile()
|
||||
|
||||
if forcecheck:
|
||||
# typically because user initiated the check from
|
||||
# Managed Software Update.app
|
||||
retcode = checkForSoftwareUpdates()
|
||||
elif suppresscheck:
|
||||
# typically because we're doing a logout install; if
|
||||
# there are no waiting Apple Updates we shouldn't
|
||||
# trigger a check for them
|
||||
return False
|
||||
else:
|
||||
# have we checked recently? Don't want to check with
|
||||
# Apple Software Update server too frequently
|
||||
|
||||
Reference in New Issue
Block a user