mirror of
https://github.com/munki/munki.git
synced 2026-01-24 16:10:01 -06:00
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:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user