Use underscores instead of hyphens for new installer_type

apple-update-metadata changed to apple_update_metadata
This commit is contained in:
Heig Gregorian
2013-02-12 08:51:14 -08:00
parent d92127c241
commit 4b322e1e43
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -119,7 +119,7 @@ def makecatalogs(repopath):
#simple sanity checking
installer_type = pkginfo.get('installer_type')
if not installer_type in ['nopkg', 'apple-update-metadata']:
if not installer_type in ['nopkg', 'apple_update_metadata']:
if not 'installer_item_location' in pkginfo:
errors.append(
"WARNING: file %s is missing installer_item_location" %
+1 -1
View File
@@ -942,7 +942,7 @@ def main():
else:
catinfo['version'] = "1.0"
catinfo['name'] = options.apple_update
catinfo['installer_type'] = 'apple-update-metadata'
catinfo['installer_type'] = 'apple_update_metadata'
# and now, what we've all been waiting for...
print FoundationPlist.writePlistToString(catinfo)