Display "Performing postflight tasks...." before running an existing postflight script, to explain the delay between "No changes to managed software are available." and the script exiting.

git-svn-id: http://munki.googlecode.com/svn/trunk@1119 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
Justin McWilliams
2011-04-15 21:50:18 +00:00
parent 10d2532d8b
commit 1687e8be9b
+2
View File
@@ -676,6 +676,8 @@ def main():
# run the postflight script if it exists
postflightscript = os.path.join(scriptdir, 'postflight')
if os.path.exists(postflightscript):
munkicommon.display_status('Performing postflight tasks...')
try:
result, stdout, stderr = utils.runExternalScript(
postflightscript, runtype)