On 4/27/15 9:54 AM, Steven Schveighoffer wrote:

So I think the issue here is that the pkg installer on OSX does not
clean up the target directory if it already exists (or at least
purposely remove thread.di). Will look into fixing that. At least now,
it works properly, thanks (did a rm -rf /usr/share/dmd and reinstall).

Looked into this further, I added a line to the post install to remove thread.di. However, when attempting to duplicate by installing 2.065 first, and then 2.067 over the top, it appears that installing over an old version doesn't actually leave thread.di behind. I think possibly this happened because I got a new mac and copied the files from my old mac, but I don't think this would be a normal cause for concern.

I do still think a pre-install script of rm -rf /usr/share/dmd would be better. But I don't know if it's warranted.

-Steve

Reply via email to