diff options
| author | Max Howell | 2009-10-03 15:23:28 +0100 |
|---|---|---|
| committer | Max Howell | 2009-10-03 15:23:45 +0100 |
| commit | ceef7729e0e3913aff3babb02a7f760de1257a76 (patch) | |
| tree | 39e8fab6af4c8af923b48f21b3a057c4b9f9131e /Library | |
| parent | 20ecb8d032c9c0a60a671605443fece3172315d3 (diff) | |
| download | brew-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.rb | 5 |
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 |
