mirror of
https://github.com/munki/munki.git
synced 2026-04-23 13:29:26 -05:00
Merge branch 'master' of https://github.com/munki/munki
This commit is contained in:
@@ -391,11 +391,11 @@ def has_valid_install_critieria(catinfo):
|
||||
Inspects compiled catalog info dictionary for valid install criteria.
|
||||
Returns boolean.
|
||||
"""
|
||||
return (catinfo.get('installs')
|
||||
return (catinfo.get('installs')
|
||||
or catinfo.get('receipts')
|
||||
or catinfo.get('installcheck_script')
|
||||
or catinfo['installer_type'] == 'profile'
|
||||
or catinfo['installer_type'] == 'apple_update_metadata')
|
||||
or catinfo.get('installer_type') == 'profile'
|
||||
or catinfo.get('installer_type') == 'apple_update_metadata')
|
||||
|
||||
def main():
|
||||
'''Main routine'''
|
||||
|
||||
Reference in New Issue
Block a user