mirror of
https://github.com/munki/munki.git
synced 2026-04-23 21:40:25 -05:00
Fixed typo in code added to shouldRebuildDB() to look at new receipts location in Snow Leopard.
git-svn-id: http://munki.googlecode.com/svn/trunk@200 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
@@ -156,7 +156,7 @@ def shouldRebuildDB(pkgdbpath):
|
||||
receiptlist = os.listdir(sl_receiptsdir)
|
||||
for item in receiptlist:
|
||||
if item.endswith(".bom") or item.endswith(".plist"):
|
||||
pkgpath = os.path.join(receiptsdir, item)
|
||||
pkgpath = os.path.join(sl_receiptsdir, item)
|
||||
pkg_modtime = os.stat(pkgpath).st_mtime
|
||||
if (packagedb_modtime < pkg_modtime):
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user