mirror of
https://github.com/munki/munki.git
synced 2026-04-22 12:38:23 -05:00
Copy category, developer and icon_name if availble to optional_installs in InstallInfo.plist for use by Managed Software Center.app
This commit is contained in:
@@ -1568,6 +1568,9 @@ def processOptionalInstall(manifestitem, cataloglist, installinfo):
|
||||
iteminfo['description'] = item_pl.get('description', '')
|
||||
iteminfo['version_to_install'] = item_pl.get('version', 'UNKNOWN')
|
||||
iteminfo['display_name'] = item_pl.get('display_name', '')
|
||||
for key in ['category', 'developer', 'icon_name']:
|
||||
if key in item_pl:
|
||||
iteminfo[key] = item_pl[key]
|
||||
iteminfo['installed'] = someVersionInstalled(item_pl)
|
||||
if iteminfo['installed']:
|
||||
iteminfo['needs_update'] = (installedState(item_pl) == 0)
|
||||
|
||||
Reference in New Issue
Block a user