From 4830bdb5b7a99c5b29e85cef1751209f3010f482 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 1 Apr 2014 20:49:11 -0500 Subject: [PATCH] The argument to pkgutil_info is always a string --- Library/Homebrew/os/mac.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/os/mac.rb b/Library/Homebrew/os/mac.rb index 7fa95cd560..c4437f0fd5 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