mirror of
https://github.com/munki/munki.git
synced 2026-01-06 22:49:58 -06:00
Make sure item as an uninstall_method before indicating it can be uninstalled in MSC
This commit is contained in:
@@ -899,7 +899,8 @@ class OptionalItem(GenericItem):
|
||||
self['updatecheck_needed'] = True
|
||||
else: # not in managed_uninstalls
|
||||
if not self.get('needs_update'):
|
||||
if self.get('uninstallable'):
|
||||
if (self.get('uninstallable')
|
||||
and self.get('uninstall_method'):
|
||||
status = u'installed'
|
||||
else: # not uninstallable
|
||||
status = u'installed-not-removable'
|
||||
|
||||
Reference in New Issue
Block a user