def findAdobeDeploymentManager(dirpath):
    for (path, dummy_dirs, dummy_files) in os.walk(dirpath):
        if path.endswith("pkg/Contents/Resources"):
            dm_path = os.path.join(path, "AdobeDeploymentManager")
            if os.path.exists(dm_path):
                return dm_path
    return ''
Searches dirpath and enclosed directories for AdobeDeploymentManager.
dataset/ETHPy150Open munki/munki/code/client/munkilib/adobeutils.py/findAdobeDeploymentManager