mirror of
https://github.com/munki/munki.git
synced 2026-04-25 14:29:02 -05:00
Fix so pre- and postuninstall_scripts get copied to InstallInfo.plist.
git-svn-id: http://munki.googlecode.com/svn/trunk@1194 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
@@ -1548,8 +1548,6 @@ def processInstall(manifestitem, cataloglist, installinfo):
|
||||
'update_for',
|
||||
'preinstall_script',
|
||||
'postinstall_script',
|
||||
'preuninstall_script',
|
||||
'postuninstall_script',
|
||||
'items_to_copy', # used w/ copy_from_dmg
|
||||
'copy_local'] # used w/ AdobeCS5 Updaters
|
||||
|
||||
@@ -1877,7 +1875,9 @@ def processRemoval(manifestitem, cataloglist, installinfo):
|
||||
optionalKeys = ['blocking_applications',
|
||||
'installs',
|
||||
'requires',
|
||||
'update_for']
|
||||
'update_for',
|
||||
'preuninstall_script',
|
||||
'postuninstall_script']
|
||||
for key in optionalKeys:
|
||||
if key in uninstall_item:
|
||||
iteminfo[key] = uninstall_item[key]
|
||||
|
||||
Reference in New Issue
Block a user