aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAku Kotkavuo2010-09-03 15:52:24 +0300
committerDavid Höppner2010-09-03 18:21:24 +0200
commit22d99c91b53a50d96e9b0c5c54f45355e9172def (patch)
tree9ea3250d8664f654ac4c0b5462e57fd949846e39 /Library/Formula
parentdc90787040bebfa419d831bba58022dccd8c23ab (diff)
downloadhomebrew-22d99c91b53a50d96e9b0c5c54f45355e9172def.tar.bz2
Update redis to 2.0.0.
Signed-off-by: David Höppner <0xffea@gmail.com> * sha1
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/redis.rb9
1 files changed, 4 insertions, 5 deletions
diff --git a/Library/Formula/redis.rb b/Library/Formula/redis.rb
index 3af6c73b4..752fe52fa 100644
--- a/Library/Formula/redis.rb
+++ b/Library/Formula/redis.rb
@@ -1,10 +1,10 @@
require 'formula'
class Redis <Formula
- url 'http://redis.googlecode.com/files/redis-1.2.6.tar.gz'
+ url 'http://redis.googlecode.com/files/redis-2.0.0.tar.gz'
head 'git://github.com/antirez/redis.git'
homepage 'http://code.google.com/p/redis/'
- sha1 'c71aef0b3f31acb66353d86ba57dd321b541043f'
+ sha1 '078601a2ee6d900f938709c9b40526646a449453'
def install
fails_with_llvm "Breaks with LLVM"
@@ -13,9 +13,8 @@ class Redis <Formula
src = File.exists?('src/Makefile') ? 'src' : '.'
system "make -C #{src}"
- %w( redis-benchmark redis-cli redis-server redis-stat redis-check-dump ).each { |p|
- # Some of these commands are only in 1.2.x, some only in head
- bin.install "#{src}/#{p}" rescue nil
+ %w( redis-benchmark redis-cli redis-server redis-check-dump ).each { |p|
+ bin.install "#{src}/#{p}"
}
%w( run db/redis log ).each { |p| (var+p).mkpath }