mirror of
https://github.com/munki/munki.git
synced 2026-04-22 04:28:21 -05:00
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:
@@ -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']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user