Someone removed the check for MacOS making the replace step be skipped if the OS was Darwin (MacOS)
except Exception:
print_failure(f"Replacing content of {target_file} failed.")
return False
- elif platform.system() == "Linux" or platform.system() == "Windows":
+ elif platform.system() == "Linux" or platform.system() == "Windows" or platform.system() == "Darwin":
print(
f"Replacing {target_file} requires root privileges. You might need to enter your password."
)