aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/bash-completion.rb
diff options
context:
space:
mode:
authorJustin Hileman2011-02-10 12:55:22 -0500
committerAdam Vandenberg2011-02-13 19:44:06 -0800
commite15aabaa94d5967b87e1e42217d205aa400d0f89 (patch)
tree2b24489c59072240735012c561d919b4548b4e06 /Library/Formula/bash-completion.rb
parent0dc66347176261e5745dab5dc50831b5ce6c0bf5 (diff)
downloadhomebrew-e15aabaa94d5967b87e1e42217d205aa400d0f89.tar.bz2
Update bash-completion to 1.3
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/bash-completion.rb')
-rw-r--r--Library/Formula/bash-completion.rb7
1 files changed, 5 insertions, 2 deletions
diff --git a/Library/Formula/bash-completion.rb b/Library/Formula/bash-completion.rb
index a1ece267b..92698e2de 100644
--- a/Library/Formula/bash-completion.rb
+++ b/Library/Formula/bash-completion.rb
@@ -1,9 +1,9 @@
require 'formula'
class BashCompletion <Formula
- url 'http://bash-completion.alioth.debian.org/files/bash-completion-1.2.tar.bz2'
+ url 'http://bash-completion.alioth.debian.org/files/bash-completion-1.3.tar.bz2'
homepage 'http://bash-completion.alioth.debian.org/'
- md5 '88c022a98a02a02293716f840eadd884'
+ md5 'a1262659b4bbf44dc9e59d034de505ec'
head 'git://git.debian.org/git/bash-completion/bash-completion.git'
def install
@@ -14,6 +14,9 @@ class BashCompletion <Formula
system "./configure", "--prefix=#{prefix}"
system "make install"
+
+ ln_s "#{HOMEBREW_PREFIX}/Library/Contributions/brew_bash_completion.sh", "#{etc}/bash_completion.d" unless
+ File.exists? "#{etc}/bash_completion.d/brew_bash_completion.sh" or File.symlink? "#{etc}/bash_completion.d/brew_bash_completion.sh"
end
def caveats; <<-EOS