aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/solr.rb
diff options
context:
space:
mode:
authorJonatan Samoocha2015-01-18 15:31:25 +0100
committerMike McQuaid2015-01-18 17:46:08 +0100
commitdfefe4a4d63a58376778cf9f8e751f9babc28a5b (patch)
tree566b24cc3517614b91d3b265ba3bdf772cd1d6c9 /Library/Formula/solr.rb
parentf4c3307fffd0c06c996871ccd1c036780a3979d2 (diff)
downloadhomebrew-dfefe4a4d63a58376778cf9f8e751f9babc28a5b.tar.bz2
solr: don't remove empty "example/logs" directory.
An empty "example/logs" directory was removed by brew as part of post-install cleaning. Solr fails to start out-of-the-box without this directory, so a skip_clean statement was added to ignore this directory. Fixes #35775. Closes #35999. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula/solr.rb')
-rw-r--r--Library/Formula/solr.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/solr.rb b/Library/Formula/solr.rb
index ef11ad555..c92db73d0 100644
--- a/Library/Formula/solr.rb
+++ b/Library/Formula/solr.rb
@@ -5,6 +5,8 @@ class Solr < Formula
url "http://www.apache.org/dyn/closer.cgi?path=lucene/solr/4.10.2/solr-4.10.2.tgz"
sha1 "b913204d07212d7bb814afe4641992f22404a27d"
+ skip_clean 'example/logs'
+
def install
libexec.install Dir["*"]
bin.install "#{libexec}/bin/solr"