diff --git a/Formula/ack.rb b/Formula/ack.rb index e9b32d4d48..4be7335b73 100644 --- a/Formula/ack.rb +++ b/Formula/ack.rb @@ -1,19 +1,13 @@ require 'formula' -class AckCompletion < Formula - url 'http://github.com/petdance/ack/raw/68120b5d30150e805c033d0458df89a487aa66c5/etc/ack.bash_completion.sh' - md5 '22e3f388b4fe2b05841ec46b4e1d61b7' - version '1.92' -end - class Ack < Formula - url "http://github.com/petdance/ack/raw/079b049b7240c2960a8ff811b2857eba462ad803/ack" - version '1.92' - md5 '7db577145ceba9f6cc5fddc3e8198342' + url "https://github.com/petdance/ack/tarball/1.93_02" + version '1.93_02' + md5 'b468ce41a949fd957dc9b6aee74782e9' homepage 'http://betterthangrep.com/' def install - bin.install Dir['*'] - AckCompletion.new.brew { (prefix+'etc/bash_completion.d').install Dir['*'] } + bin.install 'ack' + (prefix+'etc/bash_completion.d').install 'etc/ack.bash_completion.sh' end end