Fixed display of software removals when detail is suppressed and the last removal item does not require a restart.

git-svn-id: http://munki.googlecode.com/svn/trunk@131 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
Greg Neagle
2009-07-23 15:13:25 +00:00
parent e022b20e0f
commit 0d7c35646d

View File

@@ -97,7 +97,11 @@ on itemstoinstall()
if not ShowRemovalDetail then
if removalcount > 0 then
if restartRequired then
set |RestartAction| of removalitem to "RequireRestart"
try
set |RestartAction| of removalitem to "RequireRestart"
on error
set removalitem to removalitem & {|RestartAction|:"RequireRestart"}
end try
end if
set display_name of removalitem to "Software removals"
set |description| of removalitem to "Scheduled removal of managed software."