diff options
| author | Max Howell | 2009-10-02 15:55:34 +0100 |
|---|---|---|
| committer | Max Howell | 2009-10-02 16:30:33 +0100 |
| commit | 5f0d2dc032c648af2cdbb9483c1a1ba7b3ddf900 (patch) | |
| tree | 421f89ff519caaf0a1e845d8bc991aabff8fb2e5 /Library | |
| parent | e66364502d703587b43b04371a8f6ba9d6f1140e (diff) | |
| download | brew-5f0d2dc032c648af2cdbb9483c1a1ba7b3ddf900.tar.bz2 | |
Formula.etc is now HOMEBREW_PREFIX/etc
You generally don't want to have to copy the configuration to a new directory when you upgrade.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index d6b9826ef..66633a025 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -88,7 +88,6 @@ class Formula def bin; prefix+'bin' end def sbin; prefix+'sbin' end def doc; prefix+'share'+'doc'+name end - def etc; prefix+'etc' end def lib; prefix+'lib' end def libexec; prefix+'libexec' end def man; prefix+'share'+'man' end @@ -96,7 +95,10 @@ class Formula def info; prefix+'share'+'info' end def include; prefix+'include' end def share; prefix+'share' end + + # generally we don't want these to be inside the keg def var; HOMEBREW_PREFIX+'var' end + def etc; HOMEBREW_PREFIX+'etc' end # reimplement if we don't autodetect the download strategy you require def download_strategy |
