Fix when looking for install item in mounted disk image.

git-svn-id: http://munki.googlecode.com/svn/trunk@376 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
Greg Neagle
2009-11-19 03:27:19 +00:00
parent 3a9ee38de9
commit c51bff7647
+1 -1
View File
@@ -89,7 +89,7 @@ def getCatalogInfoFromDmg(dmgpath, pkgname=''):
else:
# search for first package at root
for fsitem in os.listdir(mountpoints[0]):
itempath = os.path.join(mountpoint, fsitem)
itempath = os.path.join(mountpoints[0], fsitem)
if itempath.endswith('.pkg') or itempath.endswith('.mpkg'):
cataloginfo = munkicommon.getPackageMetaData(itempath)
# get out of fsitem loop