Fix for displaying names of items to be removed when ManagedInstalls.plist's ShowRemovalDetail is True

git-svn-id: http://munki.googlecode.com/svn/trunk@840 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
Greg Neagle
2010-10-21 20:56:19 +00:00
parent e9f93c26f0
commit 3d41ec7430
2 changed files with 3 additions and 3 deletions

View File

@@ -17,11 +17,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>3.0.7</string>
<string>3.0.8</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>3.0.7</string>
<string>3.0.8</string>
<key>NSMainNibFile</key>
<string>MainMenu</string>
<key>NSPrincipalClass</key>

View File

@@ -182,7 +182,7 @@ class MSUAppDelegate(NSObject):
if item.get("RestartAction") == "RequireRestart" or item.get("RestartAction") == "RecommendRestart":
restartNeeded = True
if showRemovalDetail:
if display_name in item:
if 'display_name' in item:
item["display_name"] = item["display_name"] + " (will be removed)"
elif name in item:
item["display_name"] = item["name"] + " (will be removed)"