diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/macos/xcode.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Library/Homebrew/macos/xcode.rb b/Library/Homebrew/macos/xcode.rb index ab297f2c5..552bc2c12 100644 --- a/Library/Homebrew/macos/xcode.rb +++ b/Library/Homebrew/macos/xcode.rb @@ -58,12 +58,7 @@ module MacOS::Xcode extend self end def installed? - # Telling us whether the Xcode.app is installed or not. - @installed ||= V4_BUNDLE_PATH.exist? || - V3_BUNDLE_PATH.exist? || - MacOS.app_with_bundle_id(V4_BUNDLE_ID) || - MacOS.app_with_bundle_id(V3_BUNDLE_ID) || - false + not prefix.nil? end def version |
