diff --git a/Formula/solr@7.7.rb b/Formula/solr@7.7.rb index cd00d0424ce90..f4bd1aa2fde3b 100644 --- a/Formula/solr@7.7.rb +++ b/Formula/solr@7.7.rb @@ -1,6 +1,6 @@ class SolrAT77 < Formula desc "Enterprise search platform from the Apache Lucene project" - homepage "https://lucene.apache.org/solr/" + homepage "https://solr.apache.org" url "https://www.apache.org/dyn/closer.lua?path=lucene/solr/7.7.3/solr-7.7.3.tgz" mirror "https://archive.apache.org/dist/lucene/solr/7.7.3/solr-7.7.3.tgz" sha256 "3ec67fa430afa5b5eb43bb1cd4a659e56ee9f8541e0116d6080c0d783870baee" @@ -15,8 +15,6 @@ class SolrAT77 < Formula regex(/href=.*?solr[._-]v?(7(?:\.\d+)+)\.t/i) end - bottle :unneeded - keg_only :versioned_formula depends_on "openjdk@11" @@ -34,6 +32,8 @@ def install env["SOLR_PID_DIR"] = "${SOLR_PID_DIR:-#{var/"run/solr"}}" bin.env_script_all_files libexec, env (libexec/"bin").rmtree + + inreplace libexec/"solr", "/usr/local/share/solr", pkgshare end def post_install