elasticsearch@2.4: make postinstall rerunnable
This commit is contained in:
parent
de68c83e4b
commit
68324b22f4
1 changed files with 2 additions and 2 deletions
|
@ -59,8 +59,8 @@ class ElasticsearchAT24 < Formula
|
|||
# Make sure runtime directories exist
|
||||
(var/"elasticsearch/#{cluster_name}").mkpath
|
||||
(var/"log/elasticsearch").mkpath
|
||||
ln_s etc/"elasticsearch", libexec/"config"
|
||||
(libexec/"plugins").mkdir
|
||||
ln_s etc/"elasticsearch", libexec/"config" unless (libexec/"config").exist?
|
||||
(libexec/"plugins").mkpath
|
||||
end
|
||||
|
||||
def caveats; <<~EOS
|
||||
|
|
Loading…
Reference in a new issue