diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/elasticsearch.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/elasticsearch.rb b/Library/Formula/elasticsearch.rb index af7124efb..6cd379ea8 100644 --- a/Library/Formula/elasticsearch.rb +++ b/Library/Formula/elasticsearch.rb @@ -39,6 +39,11 @@ class Elasticsearch < Formula rm_rf "#{prefix}/target/" end + # Make sure runtime directories exist + (var/"elasticsearch/#{cluster_name}").mkpath + (var/"log/elasticsearch").mkpath + (var/"lib/elasticsearch/plugins").mkpath + # Set up ElasticSearch for local development: inreplace "#{prefix}/config/elasticsearch.yml" do |s| # 1. Give the cluster a unique name |
