mirror of
https://github.com/munki/munki.git
synced 2026-04-22 12:38:23 -05:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user