bottle: detect vim's lack of relocatableness.
References https://github.com/Homebrew/homebrew-core/issues/35236.
This commit is contained in:
parent
b93dc7e84b
commit
88b98969a5
@ -365,6 +365,7 @@ module Homebrew
|
||||
relocatable = false if keg_contain_absolute_symlink_starting_with?(prefix, keg)
|
||||
relocatable = false if keg_contain?("#{prefix}/etc", keg, ignores)
|
||||
relocatable = false if keg_contain?("#{prefix}/var", keg, ignores)
|
||||
relocatable = false if keg_contain?("#{prefix}/share/vim", keg, ignores)
|
||||
end
|
||||
skip_relocation = relocatable && !keg.require_relocation?
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user