macOS: re running install.sh fails (mktemp File exists) #4016
alejorrojas
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi!
I'm running the
curl -fsSL https://raw.githubusercontent.com/dimensionalOS/dimos/main/scripts/install.sh | bashscript on macOS (Tahoe 26.6.2) and the first run works, but if you run it again you get the following error:The problem is that the macOS mktemp only randomizes XXXXXX if it's the last part of the path. The
.shsuffix makes a fixed filename, so following runs collide.The patch is straightforward:
Also in the cleanup we can delete the temp install file created.
All reactions