mirror of
https://github.com/munki/munki.git
synced 2026-03-13 13:08:44 -05:00
Don't display 'Running installcheck_script/uninstallcheck_script for foo...' messages when checking for updates.
This commit is contained in:
@@ -2426,8 +2426,12 @@ def runEmbeddedScript(scriptname, pkginfo_item, suppress_error=False):
|
||||
|
||||
def runScript(itemname, path, scriptname, suppress_error=False):
|
||||
'''Runs a script, Returns return code.'''
|
||||
display_status_minor(
|
||||
'Running %s for %s ' % (scriptname, itemname))
|
||||
if suppress_error:
|
||||
display_detail(
|
||||
'Running %s for %s ' % (scriptname, itemname))
|
||||
else:
|
||||
display_status_minor(
|
||||
'Running %s for %s ' % (scriptname, itemname))
|
||||
if munkistatusoutput:
|
||||
# set indeterminate progress bar
|
||||
munkistatus.percent(-1)
|
||||
|
||||
Reference in New Issue
Block a user