Apache Solr open-source search software
SOLR-9575: Use default solr.xml in install_solr_service (#651)
Houston Putman91555924a7ca
diff --git a/solr/bin/install_solr_service.sh b/solr/bin/install_solr_service.shindex dc82c8d18f1..8da8edbb449 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 filesmkdir -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/"-fiif [ -f "$SOLR_VAR_DIR/log4j2.xml" ]; thenecho -e "\n$SOLR_VAR_DIR/log4j2.xml already exists. Skipping install ...\n"else