mirror of
https://github.com/munki/munki.git
synced 2026-04-23 13:29:26 -05:00
Make sure we return false if user clicks the stop button while building the package database under Snow Leopard
git-svn-id: http://munki.googlecode.com/svn/trunk@923 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
@@ -616,6 +616,8 @@ def initDatabase(forcerebuild=False):
|
||||
conn.close()
|
||||
#our package db isn't valid, so we should delete it
|
||||
os.remove(packagedb)
|
||||
return False
|
||||
|
||||
munkicommon.display_detail("Importing %s..." % pkg)
|
||||
ImportFromPkgutil(pkg, curs)
|
||||
currentpkgindex += 1
|
||||
|
||||
Reference in New Issue
Block a user