fix(heal): restore Rosetta access on intact installations

This commit is contained in:
2026-10-30 11:03:00 -03:00
parent e130716813
commit 1bf35ab567
3 changed files with 41 additions and 3 deletions
+4
View File
@@ -990,6 +990,10 @@ heal_suppress() {
local hosts="${data_mount}/private/etc/hosts"
local ldp="${data_mount}/private/var/db/com.apple.xpc.launchd/disabled.plist"
if [ "$DRY_RUN" != true ] && [ -f "$hosts" ]; then
_restore_rosetta_hosts "$hosts" || error_exit "Could not repair old Rosetta hosts blocks."
fi
local needs_heal=false
if [ -f "$cfg/.cloudConfigRecordFound" ]; then