Merge pull request #7541 from miketheman/miketheman/fix-uninstall-paths
cmd/uninstall: fix Array comparison
This commit is contained in:
commit
952f8eaac5
@ -92,7 +92,8 @@ module Homebrew
|
||||
end
|
||||
|
||||
unversioned_name = f.name.gsub(/@.+$/, "")
|
||||
maybe_paths = Dir.glob("#{f.etc}/*#{unversioned_name}*") - paths
|
||||
maybe_paths = Dir.glob("#{f.etc}/*#{unversioned_name}*")
|
||||
maybe_paths -= paths if paths.present?
|
||||
if maybe_paths.present?
|
||||
puts
|
||||
opoo <<~EOS
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user