aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils.rb
diff options
context:
space:
mode:
authorJack Nagel2012-02-09 17:32:41 -0600
committerMike McQuaid2012-02-10 08:57:11 +0000
commit511598fa3731158a933aee6ee9a6014f339dc283 (patch)
tree26586064c652f3a6ec2d4ea644317ff10bed178d /Library/Homebrew/utils.rb
parent6cfe4b320870b6c12b6c88e4eac483f4e8d22315 (diff)
downloadbrew-511598fa3731158a933aee6ee9a6014f339dc283.tar.bz2
install: unlink old kegs
If a formula makes it all the way to the actual install step, it is safe to unlink the keg before linking; this will prune dead symlinks in the case where a keg was removed with `rm -rf <keg>` but not unlinked with `brew unlink`. Fixes Homebrew/homebrew#10077. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Homebrew/utils.rb')
0 files changed, 0 insertions, 0 deletions