aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/bash-completion.rb
diff options
context:
space:
mode:
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