From ceef7729e0e3913aff3babb02a7f760de1257a76 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Sat, 3 Oct 2009 15:23:28 +0100 Subject: [PATCH] Modernise the GRC formula somewhat This was one of the first ones I wrote, so it lacks some of our more recent touches. --- Library/Homebrew/formula.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index a109f7152f..8e4771cd13 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -96,10 +96,11 @@ class Formula def include; prefix+'include' end def share; prefix+'share' end - # generally we don't want these to be inside the keg + # generally we don't want var stuff inside the keg def var; HOMEBREW_PREFIX+'var' end + # configuration needs to be preserved past upgrades def etc; HOMEBREW_PREFIX+'etc' end - + # reimplement if we don't autodetect the download strategy you require def download_strategy case url