Tweaked munkistatus output.

git-svn-id: http://munki.googlecode.com/svn/trunk@240 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
Greg Neagle
2009-09-29 17:51:27 +00:00
parent c61024cba0
commit c200650623
+6 -1
View File
@@ -908,6 +908,11 @@ def processInstall(manifestitem, cataloglist, installinfo):
managedinstallprefs = munkicommon.prefs()
ManagedInstallDir = managedinstallprefs['ManagedInstallDir']
if munkicommon.munkistatusoutput:
# reset progress indicator and detail field
munkistatus.percent("-1")
munkistatus.detail('')
manifestitemname = os.path.split(manifestitem)[1]
#munkicommon.display_info("Getting detail on %s..." % manifestitemname)
pl = getItemDetail(manifestitem, cataloglist)
@@ -1081,7 +1086,7 @@ def processRemoval(manifestitem, cataloglist, installinfo):
"""
global pkgdata
manifestitemname_withversion = os.path.split(manifestitem)[1]
munkicommon.display_detail("Processing manifest item %s..." % manifestitemname_withversion)
(manifestitemname, includedversion) = nameAndVersion(manifestitemname_withversion)
infoitems = []