mirror of
https://github.com/munki/munki.git
synced 2026-04-21 12:08:22 -05:00
Copy category, developer and icon_name if available to managed_installs and removals in InstallInfo.plist for use by Managed Software Center.app
This commit is contained in:
@@ -1850,7 +1850,10 @@ def processInstall(manifestitem, cataloglist, installinfo):
|
||||
'items_to_copy', # used w/ copy_from_dmg
|
||||
'copy_local', # used w/ AdobeCS5 Updaters
|
||||
'force_install_after_date',
|
||||
'apple_item']
|
||||
'apple_item',
|
||||
'category',
|
||||
'developer',
|
||||
'icon_name']
|
||||
|
||||
for key in optional_keys:
|
||||
if key in item_pl:
|
||||
@@ -2291,7 +2294,10 @@ def processRemoval(manifestitem, cataloglist, installinfo):
|
||||
'payloads',
|
||||
'preuninstall_script',
|
||||
'postuninstall_script',
|
||||
'apple_item']
|
||||
'apple_item',
|
||||
'category',
|
||||
'developer',
|
||||
'icon_name']
|
||||
for key in optionalKeys:
|
||||
if key in uninstall_item:
|
||||
iteminfo[key] = uninstall_item[key]
|
||||
|
||||
Reference in New Issue
Block a user