mirror of
https://github.com/munki/munki.git
synced 2026-04-21 20:18:20 -05:00
Logic changes to get proper logoutinstall behavior when there is an available Apple Update but no munki update.
git-svn-id: http://munki.googlecode.com/svn/trunk@322 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
@@ -334,9 +334,13 @@ def main():
|
||||
munkistatus.message("Checking for available Apple Software Updates...")
|
||||
munkistatus.detail("")
|
||||
munkistatus.percent(-1)
|
||||
if appleupdates.appleSoftwareUpdatesAvailable(options.manualcheck):
|
||||
if appleupdates.appleSoftwareUpdatesAvailable(forcecheck=options.manualcheck):
|
||||
updatesavailable = True
|
||||
|
||||
if options.installonly and munkicommon.pref('InstallAppleSoftwareUpdates'):
|
||||
if appleupdates.appleSoftwareUpdatesAvailable(suppresscheck=True):
|
||||
updatesavailable = True
|
||||
|
||||
if options.manualcheck:
|
||||
# don't need MunkiStatus any more...
|
||||
munkistatus.quit()
|
||||
|
||||
Reference in New Issue
Block a user