diff options
| author | Mike McQuaid | 2013-10-07 15:17:05 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2013-10-10 16:46:48 +0100 |
| commit | 43113ce468ca481408e9359e86d77b67e6333399 (patch) | |
| tree | 2f6ae4a985004b584a333a342e414517c34d3a47 /Library | |
| parent | 498b3a7d4c216580f14976c68c1d98bb2ea6ef34 (diff) | |
| download | homebrew-43113ce468ca481408e9359e86d77b67e6333399.tar.bz2 | |
redis: use new etc.install overwrite handling.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/redis.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/redis.rb b/Library/Formula/redis.rb index 61537e1c3..feec3d557 100644 --- a/Library/Formula/redis.rb +++ b/Library/Formula/redis.rb @@ -36,8 +36,8 @@ class Redis < Formula ohai "Your redis.conf will not work with 2.6; moved it to redis.conf.old" end - etc.install 'redis.conf' unless (etc/'redis.conf').exist? - etc.install 'sentinel.conf' => 'redis-sentinel.conf' unless (etc/'redis-sentinel.conf').exist? + etc.install 'redis.conf' + etc.install 'sentinel.conf' => 'redis-sentinel.conf' end plist_options :manual => "redis-server #{HOMEBREW_PREFIX}/etc/redis.conf" |
