mirror of
https://github.com/munki/munki.git
synced 2026-01-06 06:29:56 -06:00
foundagain for precache OnDemand (#878)
Makes a cache delete exemption for items that are both precache and OnDemand
This commit is contained in:
@@ -404,6 +404,11 @@ def install_with_info(
|
||||
foundagain = True
|
||||
break
|
||||
|
||||
# check to see if the item is both precache and OnDemand
|
||||
if not foundagain and item.get('precache') and item.get('OnDemand'):
|
||||
foundagain = True
|
||||
break
|
||||
|
||||
# need to check skipped_installs as well
|
||||
if not foundagain:
|
||||
for skipped_item in skipped_installs:
|
||||
|
||||
Reference in New Issue
Block a user