redis: don't overwrite existing config file
Fixes Homebrew/homebrew#11352. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
2096604c6c
commit
dd96568ca9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue