uninstall: tweak paths array logic.
This commit is contained in:
parent
e4823ea6fe
commit
a3474e8361
@ -92,7 +92,8 @@ module Homebrew
|
|||||||
end
|
end
|
||||||
|
|
||||||
unversioned_name = f.name.gsub(/@.+$/, "")
|
unversioned_name = f.name.gsub(/@.+$/, "")
|
||||||
maybe_paths = Dir.glob("#{f.etc}/*#{unversioned_name}*") - paths.to_a
|
maybe_paths = Dir.glob("#{f.etc}/*#{unversioned_name}*")
|
||||||
|
maybe_paths -= paths if paths.present?
|
||||||
if maybe_paths.present?
|
if maybe_paths.present?
|
||||||
puts
|
puts
|
||||||
opoo <<~EOS
|
opoo <<~EOS
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user