This is an automated email from the ASF dual-hosted git repository.
houston pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/branch_9x by this push:
new 63d17b2 SOLR-9575: Use default solr.xml in install_solr_service (#651)
63d17b2 is described below
commit 63d17b211031a9a20c670ac70130529d90065a83
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)
(cherry picked from commit 91555924a7ca0d02913f79499ae65e8b3e2008dd)
---
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