diff --git a/lib/hbc/locations.rb b/lib/hbc/locations.rb index 59f00458538..766cef96fcf 100644 --- a/lib/hbc/locations.rb +++ b/lib/hbc/locations.rb @@ -37,6 +37,14 @@ module Hbc::Locations @caskroom = caskroom end + def legacy_cache + @legacy_cache ||= HOMEBREW_CACHE.join("Casks") + end + + def cache + @cache ||= HOMEBREW_CACHE.join("Cask") + end + attr_writer :appdir def appdir