Permalink
Browse files

Revert "Implemented optional_installs for localonly manifest (#837)"

This reverts commit 874e76a.
  • Loading branch information...
gregneagle committed Mar 7, 2018
1 parent 874e76a commit eb8fcf9b5851867c19027b7ebb9c5adb5273dcae
Showing with 1 addition and 15 deletions.
  1. +1 −15 code/client/munkilib/updatecheck/core.py
@@ -173,21 +173,7 @@ def check(client_id='', localmanifestpath=None):
localonlyuninstalls = manifestutils.get_manifest_value_for_key(
localonlymanifest, 'managed_uninstalls') or []
for item in localonlyuninstalls:
dummy_result = analyze.process_removal(
item,
cataloglist,
installinfo
)

localonlyoptionals = manifestutils.get_manifest_value_for_key(
localonlymanifest, 'optional_installs') or []
for item in localonlyoptionals:
dummy_result = analyze.process_optional_install(
item,
cataloglist,
installinfo
)

analyze.process_removal(item, cataloglist, installinfo)
else:
display.display_debug1(
"LocalOnlyManifest %s is set but is not present. "

0 comments on commit eb8fcf9

Please sign in to comment.