From 70118707696fbf414f019ddf54b55f69b80a25ed Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Sat, 30 Jul 2016 01:23:28 +0200 Subject: [PATCH] Add locations. (#23265) --- lib/hbc/locations.rb | 8 ++++++++ 1 file changed, 8 insertions(+) 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