mirror of
https://github.com/munki/munki.git
synced 2026-05-04 19:39:22 -05:00
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:
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user