reinstall: keg.rmtree isn't a method.
This commit is contained in:
parent
2269518768
commit
18fb81906e
@ -66,7 +66,8 @@ module Homebrew
|
||||
|
||||
return unless path.directory?
|
||||
|
||||
keg.rmtree if keg.exist?
|
||||
Pathname.new(keg).rmtree if keg.exist?
|
||||
|
||||
path.rename keg
|
||||
keg.link unless formula.keg_only?
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user