aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMike McQuaid2013-10-05 20:29:19 +0100
committerMike McQuaid2013-10-10 16:46:47 +0100
commitecdbd424e88bac448ba44bfb6572efc03f9f5c9d (patch)
tree623a3580b808a6bfea62e7b0bc4b9bb7b8e688d6 /Library/Homebrew
parentf4d29a04943a390e39f7ce51a7f2d45a595592ca (diff)
downloadhomebrew-ecdbd424e88bac448ba44bfb6572efc03f9f5c9d.tar.bz2
formula: add bottle_prefix method.
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/formula.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 9fc54bef1..d640aa1e8 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -178,6 +178,9 @@ class Formula
def bash_completion; prefix+'etc/bash_completion.d' end
def zsh_completion; share+'zsh/site-functions' end
+ # for storing etc, var files for later copying from bottles
+ def bottle_prefix; prefix+'.bottle' end
+
# override this to provide a plist
def plist; nil; end
alias :startup_plist :plist