adobeutils.getAdobeCatalogInfo (used my makepkginfo) now generates installs items for CS5 updates, based on payload information.

git-svn-id: http://munki.googlecode.com/svn/trunk@624 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
Greg Neagle
2010-07-29 19:41:08 +00:00
parent e95ce9d3b3
commit 88e2969d95
+14
View File
@@ -969,6 +969,20 @@ def getAdobeCatalogInfo(mountpoint, pkgname=""):
cataloginfo['installer_type'] = "AdobeCS5PatchInstaller"
if pkgname:
cataloginfo['package_path'] = pkgname
# make some installs items from the payloads
installs = []
uninstalldir = "/Library/Application Support/Adobe/Uninstall"
for payload in cataloginfo.get('payloads',[]):
if 'AdobeCode' in payload:
dbfile = payload['AdobeCode'] + ".db"
filepath = os.path.join(uninstalldir, dbfile)
installitem = {}
installitem['path'] = filepath
installitem['type'] = 'file'
installs.append(installitem)
cataloginfo['installs'] = installs
return cataloginfo
# Look for AdobeUberInstaller items (CS4 install)