In makecatogitem.py, changed "installer_item_size" to KBytes to match "installed_size" and to avoid long integers, which are not supported in plistlib.

git-svn-id: http://munki.googlecode.com/svn/trunk@33 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
Greg Neagle
2009-01-20 18:46:52 +00:00
parent b367494be1
commit 23b15ae4d3
+3 -1
View File
@@ -245,7 +245,7 @@ def main():
exit(-1)
if catinfo:
catinfo['installer_item_size'] = itemsize
catinfo['installer_item_size'] = int(itemsize/1024)
minosversion = ""
if options.file:
installs = []
@@ -271,6 +271,8 @@ def main():
catinfo['minimum_os_version'] = "10.4.0"
# and now, what we've all been waiting for...
print catinfo
print
print plistlib.writePlistToString(catinfo)