diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/os/mac.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/os/mac.rb b/Library/Homebrew/os/mac.rb index 7fa95cd56..c4437f0fd 100644 --- a/Library/Homebrew/os/mac.rb +++ b/Library/Homebrew/os/mac.rb @@ -282,7 +282,7 @@ module OS end def pkgutil_info(id) - (@pkginfo ||= {}).fetch(id.to_s) do |key| + (@pkginfo ||= {}).fetch(id) do |key| @pkginfo[key] = `/usr/sbin/pkgutil --pkg-info "#{key}" 2>/dev/null`.strip end end |
