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:
parent
e66364502d
commit
5f0d2dc032
@ -88,7 +88,6 @@ class Formula
|
|||||||
def bin; prefix+'bin' end
|
def bin; prefix+'bin' end
|
||||||
def sbin; prefix+'sbin' end
|
def sbin; prefix+'sbin' end
|
||||||
def doc; prefix+'share'+'doc'+name end
|
def doc; prefix+'share'+'doc'+name end
|
||||||
def etc; prefix+'etc' end
|
|
||||||
def lib; prefix+'lib' end
|
def lib; prefix+'lib' end
|
||||||
def libexec; prefix+'libexec' end
|
def libexec; prefix+'libexec' end
|
||||||
def man; prefix+'share'+'man' end
|
def man; prefix+'share'+'man' end
|
||||||
@ -96,7 +95,10 @@ class Formula
|
|||||||
def info; prefix+'share'+'info' end
|
def info; prefix+'share'+'info' end
|
||||||
def include; prefix+'include' end
|
def include; prefix+'include' end
|
||||||
def share; prefix+'share' end
|
def share; prefix+'share' end
|
||||||
|
|
||||||
|
# generally we don't want these to be inside the keg
|
||||||
def var; HOMEBREW_PREFIX+'var' end
|
def var; HOMEBREW_PREFIX+'var' end
|
||||||
|
def etc; HOMEBREW_PREFIX+'etc' end
|
||||||
|
|
||||||
# reimplement if we don't autodetect the download strategy you require
|
# reimplement if we don't autodetect the download strategy you require
|
||||||
def download_strategy
|
def download_strategy
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user