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
|
# Make sure runtime directories exist
|
||||||
(var/"elasticsearch/#{cluster_name}").mkpath
|
(var/"elasticsearch/#{cluster_name}").mkpath
|
||||||
(var/"log/elasticsearch").mkpath
|
(var/"log/elasticsearch").mkpath
|
||||||
ln_s etc/"elasticsearch", libexec/"config"
|
ln_s etc/"elasticsearch", libexec/"config" unless (libexec/"config").exist?
|
||||||
(libexec/"plugins").mkdir
|
(libexec/"plugins").mkpath
|
||||||
end
|
end
|
||||||
|
|
||||||
def caveats; <<~EOS
|
def caveats; <<~EOS
|
||||||
|
|
Loading…
Reference in a new issue