aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2009-10-03 15:23:28 +0100
committerMax Howell2009-10-03 15:23:45 +0100
commitceef7729e0e3913aff3babb02a7f760de1257a76 (patch)
tree39e8fab6af4c8af923b48f21b3a057c4b9f9131e /Library
parent20ecb8d032c9c0a60a671605443fece3172315d3 (diff)
downloadbrew-ceef7729e0e3913aff3babb02a7f760de1257a76.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')
-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