aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMax Howell2009-10-03 15:23:28 +0100
committerMax Howell2009-10-03 15:23:45 +0100
commitfa93e72995f0f7c50e5319200920f3460b4b6dfa (patch)
treea8a38cf8fa3aa118a74675f37bfc39dba10f6202 /Library/Homebrew
parent725a699bff499b722032ebada93de3933565ad70 (diff)
downloadhomebrew-fa93e72995f0f7c50e5319200920f3460b4b6dfa.tar.bz2
Modernise the GRC formula somewhat
This was one of the first ones I wrote, so it lacks some of our more recent touches.
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/formula.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index a109f7152..8e4771cd1 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