Fix InDesign 2017 size calculation (#771)

- ID has a 'Condition' key in its Application.json for the 'Base' (main) app HD
  package, but it's an empty string, so just include this explicitly in the
  conditional
This commit is contained in:
Timothy Sutton
2017-05-11 14:13:54 -04:00
committed by Greg Neagle
parent 533647b399
commit 6f725d9b93
@@ -584,7 +584,12 @@ def getAdobeCatalogInfo(mountpoint, pkgname=""):
# languages are very close to the same size. We also
# get one included language package which would be the
# case for any install.
#
# Because InDesign CC 2017 is not like any other package
# and contains a 'Condition' key but as an empty
# string, we explicitly test this case as well.
if ('Condition' not in package.keys() or
package.get('Condition') == '' or
'[installLanguage]==en_US' in
package.get('Condition', '')):
installed_size += package.get(