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.
This commit is contained in:
Max Howell 2009-10-02 15:55:34 +01:00
parent e66364502d
commit 5f0d2dc032

View File

@ -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