Managed Software Update.app now warns if any blocking apps are running if the user chooses to update without logging out.

git-svn-id: http://munki.googlecode.com/svn/trunk@910 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
Greg Neagle
2010-11-12 00:35:46 +00:00
parent 74f5ce6d50
commit e4bc10aedd
4 changed files with 113 additions and 14 deletions
+1 -2
View File
@@ -808,8 +808,7 @@ def blockingApplicationsRunning(pkginfoitem):
else:
# if no blocking_applications specified, get appnames
# from 'installs' list if it exists
appnames = [item.get('CFBundleName') or
os.path.basename(item.get('path'))
appnames = [os.path.basename(item.get('path'))
for item in pkginfoitem.get('installs', [])
if item['type'] == 'application']