If the link already exists exactly (well almost exactly) as we are about to correct it, then it's okay. Otherwise we error out. This is a safe choice, and really, the correct choice too.
This will prevent the tickets like #11050 from occurring.
Refs http://stackoverflow.com/questions/9762943
The system ln no longer outputs anything. Though the user can force its output with a --verbose of course. So in cases where it's not the usual of: not writable or existing file, we can ask the user to run with --verbose. I don't particularly like hiding its output, but it just confused the error IMO since it is creating a relative symlink the output was weird every time I've seen it in tickets.
I made a print wrapper so that the brew-link output doesn't get mucked up if an exception is thrown.
- This adds a formula for libqalculate 0.9.7 to homebrew. It builds on my
system, but I'm not sure if I've set up some kegs which may be used.
- Also includes minor patch to two files (in formula) for ignoring malloc.h
on apple platform. It's fixed upstream, but not in a release just the
sourceforge git repo.
Closes#9533.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Since 5bddaf2e ("Stop supportinb `brew install --force`), the --force
argument is still useful but only to overcome the blacklist
restrictions. Document this.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
In multi-user systems for certain, and possibly in other situations
(possibly related to installing with `$ sudo brew install nethack`),
nethack permissions were set incorrectly. Nethack wants to be able to
create save files in $NETHACKDIR/libexec/save, but the folder lacked
group permissions to allow this.
Additionally, it needs to be able to write the lock (perm) file, but
didn't have permission to do this either.
Closes#8765.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Wdfs is a webdav filesystem that makes it possible to mount a webdav
share under linux, freebsd and apple mac os x. Wdfs has some special
features for accessing subversion repositories via webdav. It's based
on fuse and neon.
Closes#8731.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
The stable version is 2.3, but it is old, MacPorts packages both versions,
and this is the one people actually want to use.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>