MacPorts 2.0.0-beta2 now available for testing

Jeremy Lavergne jeremy at lavergne.gotdns.org
Tue Jul 5 17:21:37 PDT 2011


> And I'm not convinced setting it to /var/empty is a great solution. The issue in response to which you changed it from /dev/null to /var/empty was about a program's inability to create some sort of directory in home for its settings. So now it's going to create that settings directory inside /var/empty, which seems wrong; that directory *should* remain empty. I don't know if the OS cleans it out at some point.

It wasn't to create the file, it was to test it for where a file should never be.

Specifically, does the $HOME/.pangorc file exist? The test is to set it something that doesn't exist so we can test against defaults rather than the user environment. /var/empty is an empty folder, whereas /dev/null isn't a directory.

It looks like the perfect solution unless other packages will violate the mtree in the manner you suggest.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3749 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20110705/7fe60710/attachment.bin>


More information about the macports-dev mailing list