mirror of
https://github.com/munki/munki.git
synced 2026-04-29 00:39:42 -05:00
Exit if makepkginfo returns empty pkginfo.
git-svn-id: http://munki.googlecode.com/svn/trunk@952 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
@@ -548,6 +548,10 @@ def main():
|
||||
# generate pkginfo for the item
|
||||
pkginfo = makePkgInfo(installer_item)
|
||||
|
||||
if not pkginfo:
|
||||
# makepkginfo returned an error
|
||||
exit(-1)
|
||||
|
||||
if not options.nointeractive:
|
||||
# try to find existing pkginfo items that match this one
|
||||
matchingpkginfo = findMatchingPkginfo(pkginfo)
|
||||
|
||||
Reference in New Issue
Block a user