In several cases, the homebrew.sh script has bricked a M1 mac after installing, I suspect because of the tmp permission changes happening while software update process is happening (software update stages its files in /private/tmp/msu-target-). Is this still needed? If so is there a way to more precisely cleanup without stepping on whatever else happens to be using tmp at the time?
To be honest I haven't tested taking those three lines out. It should be OK, it was put in for Catalina but may not be necessary sin Big Sur, Monterey and M1. I won't have testing time till the weekend.
Hello,
In several cases, the homebrew.sh script has bricked a M1 mac after installing, I suspect because of the tmp permission changes happening while software update process is happening (software update stages its files in /private/tmp/msu-target-). Is this still needed? If so is there a way to more precisely cleanup without stepping on whatever else happens to be using tmp at the time?