redis: don't overwrite existing config file

Fixes Homebrew/homebrew#11352.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
master
Jack Nagel 2012-04-15 22:40:05 -05:00
parent 2096604c6c
commit dd96568ca9
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ class Redis < Formula
s.gsub! "\# bind 127.0.0.1", "bind 127.0.0.1"
end
etc.install "redis.conf"
etc.install 'redis.conf' unless (etc/'redis.conf').exist?
plist_path.write startup_plist
plist_path.chmod 0644
end