diff options
| author | Max Howell | 2009-10-02 15:55:34 +0100 |
|---|---|---|
| committer | Max Howell | 2009-10-02 16:30:33 +0100 |
| commit | 99550dedd0c1715ebfded89ca216b60bb813f415 (patch) | |
| tree | 0b9901c5cc5c12bf3c4a369ad6edd598feb974de /Library/Homebrew | |
| parent | a7fc7eef7b186498c599c05a7de0c3fef8c04607 (diff) | |
| download | homebrew-99550dedd0c1715ebfded89ca216b60bb813f415.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/Homebrew')
| -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 |
