added check for munkicommon.munkistatusoutput in runAdobeInstallTool so we don't try to call MunkiStatus when not needed.

git-svn-id: http://munki.googlecode.com/svn/trunk@410 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
Greg Neagle
2009-12-16 18:43:51 +00:00
parent 3a5c662ae8
commit 60de387e48
+1 -1
View File
@@ -274,7 +274,7 @@ def findSetupApp(dirpath):
def runAdobeInstallTool(cmd, number_of_payloads=0):
'''An abstraction of the tasks for running Adobe Setup,
AdobeUberInstaller ot AdobeUberUninstaller'''
if not number_of_payloads:
if munkicommon.munkistatusoutput and not number_of_payloads:
# indeterminate progress bar
munkistatus.percent(-1)
payload_completed_count = 0