sys_patch.py: Fix AuxKC check

This commit is contained in:
Mykola Grymalyuk
2024-08-20 15:52:44 -06:00
parent b349459da6
commit fc5b250d41
2 changed files with 3 additions and 4 deletions
@@ -105,7 +105,6 @@ class KernelCacheSupport:
return updated_install_location return updated_install_location
def clean_auxiliary_kc(self) -> None: def clean_auxiliary_kc(self) -> None:
""" """
Clean the Auxiliary Kernel Collection Clean the Auxiliary Kernel Collection
@@ -391,9 +391,9 @@ class PatchSysVolume:
destination_folder_path = str(self.mount_location_data) + install_patch_directory destination_folder_path = str(self.mount_location_data) + install_patch_directory
updated_destination_folder_path = kc_support_obj.add_auxkc_support(install_file, source_folder_path, install_patch_directory, destination_folder_path) updated_destination_folder_path = kc_support_obj.add_auxkc_support(install_file, source_folder_path, install_patch_directory, destination_folder_path)
if updated_destination_folder_path != destination_folder_path:
if kc_support_obj.check_kexts_needs_authentication(install_file) is True: if kc_support_obj.check_kexts_needs_authentication(install_file) is True:
self.constants.needs_to_open_preferences = True self.constants.needs_to_open_preferences = True
if destination_folder_path != updated_destination_folder_path: if destination_folder_path != updated_destination_folder_path:
# Update required_patches to reflect the new destination folder path # Update required_patches to reflect the new destination folder path