Merge pull request #2751 from MikeMcQuaid/reinstall-remove-partial-keg
reinstall: remove partially installed keg.
This commit is contained in:
commit
882f64169c
@ -66,6 +66,7 @@ module Homebrew
|
|||||||
|
|
||||||
return unless path.directory?
|
return unless path.directory?
|
||||||
|
|
||||||
|
keg.rmtree if keg.exist?
|
||||||
path.rename keg
|
path.rename keg
|
||||||
keg.link unless formula.keg_only?
|
keg.link unless formula.keg_only?
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user