diff --git a/Library/Homebrew/cmd/uninstall.rb b/Library/Homebrew/cmd/uninstall.rb index c5fa22ea1..e679377d4 100644 --- a/Library/Homebrew/cmd/uninstall.rb +++ b/Library/Homebrew/cmd/uninstall.rb @@ -92,7 +92,7 @@ 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}*") - paths.to_a if maybe_paths.present? puts opoo <<~EOS