This is an automated email from the ASF dual-hosted git repository.

houston pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/main by this push:
     new 9155592  SOLR-9575: Use default solr.xml in install_solr_service (#651)
9155592 is described below

commit 91555924a7ca0d02913f79499ae65e8b3e2008dd
Author: Houston Putman <[email protected]>
AuthorDate: Fri Feb 18 10:56:32 2022 -0500

    SOLR-9575: Use default solr.xml in install_solr_service (#651)
---
 solr/bin/install_solr_service.sh | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/solr/bin/install_solr_service.sh b/solr/bin/install_solr_service.sh
index dc82c8d..8da8edb 100755
--- a/solr/bin/install_solr_service.sh
+++ b/solr/bin/install_solr_service.sh
@@ -325,11 +325,6 @@ chmod 0640 "/etc/default/$SOLR_SERVICE.in.sh"
 # install data directories and files
 mkdir -p "$SOLR_VAR_DIR/data"
 mkdir -p "$SOLR_VAR_DIR/logs"
-if [ -f "$SOLR_VAR_DIR/data/solr.xml" ]; then
-  echo -e "\n$SOLR_VAR_DIR/data/solr.xml already exists. Skipping install 
...\n"
-else
-  cp "$SOLR_INSTALL_DIR/server/solr/"{solr.xml,zoo.cfg} "$SOLR_VAR_DIR/data/"
-fi
 if [ -f "$SOLR_VAR_DIR/log4j2.xml" ]; then
   echo -e "\n$SOLR_VAR_DIR/log4j2.xml already exists. Skipping install ...\n"
 else

Reply via email to