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:
Greg Neagle
2009-08-31 21:26:48 +00:00
parent 87c5cf446d
commit ca3e0a2f06
+1 -1
View File
@@ -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