From 579c7c9cbb1e9f84316d78390cc40de67f80b0ea Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk Date: Sat, 16 Jul 2022 14:48:41 -0600 Subject: [PATCH] sys_patch.py: Fix misc typos --- resources/sys_patch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/sys_patch.py b/resources/sys_patch.py index a4976c06c..43d9efac3 100644 --- a/resources/sys_patch.py +++ b/resources/sys_patch.py @@ -304,7 +304,7 @@ class PatchSysVolume: elif Path(source_folder + "/" + file_name_str).is_dir(): # Applicable for .kext, .app, .plugin, .bundle, all of which are directories if Path(destination_folder + "/" + file_name).exists(): - print(f" - Found existing {file_name}, overwritting...") + print(f" - Found existing {file_name}, overwriting...") utilities.process_status(utilities.elevated(["rm", "-R", f"{destination_folder}/{file_name}"], stdout=subprocess.PIPE, stderr=subprocess.STDOUT)) else: print(f" - Installing: {file_name}") @@ -313,7 +313,7 @@ class PatchSysVolume: else: # Assume it's an individual file, replace as normal if Path(destination_folder + "/" + file_name).exists(): - print(f" - Found existing {file_name}, overwritting...") + print(f" - Found existing {file_name}, overwriting...") utilities.process_status(utilities.elevated(["rm", f"{destination_folder}/{file_name}"], stdout=subprocess.PIPE, stderr=subprocess.STDOUT)) else: print(f" - Installing: {file_name}")