Le 2011-03-28 à 20:47, Jesse Phillips a écrit : > On Mon, Mar 28, 2011 at 8:04 AM, Michel Fortin > <[email protected]> wrote: > >> Here's what I'll do on my side. I'll make an exception in my installer so >> that if it downloads DMD 2.052 it automatically adds a symlink at "osx/lib" >> pointing to "osx/lib32". This will make things work for this release. The >> downside is that it won't work if the user installs DMD manually by >> unpacking the archive at the right place, but if the next DMD release return >> to using "lib" the problem will be limited to manual downloads of DMD >> version 2.052, which shouldn't be too bad. > > Might I suggest you just test for the existence of lib32. There have > been a number of folder restructuring in the past, and this is what > I've done to keep it compatibly with older zips (not that I actually > tested them).
That's a fairly good suggestion. It makes things more robust, and it's exactly what I made my installer do in the end (see D for Xcode, version 1.2.2 released today). But I still hope the "lib32" folder goes back to its original name "lib" soon so unpacking the archive manually will work too with the symlinks installed in /usr/local. -- Michel Fortin [email protected] http://michelf.com/ _______________________________________________ phobos mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/phobos
