Apache Lucene open-source search software
SOLR-9325: Remove unnecessary search/replace in installer script
Jan Høydahlc9cf0eff0376
diff --git a/solr/bin/install_solr_service.sh b/solr/bin/install_solr_service.shindex 6b9df791154..a23612fb813 100755--- a/solr/bin/install_solr_service.sh+++ b/solr/bin/install_solr_service.sh@@ -344,8 +344,6 @@ if [ -f "$SOLR_VAR_DIR/log4j.properties" ]; thenecho -e "\n$SOLR_VAR_DIR/log4j.properties already exists. Skipping install ...\n"elsecp "$SOLR_INSTALL_DIR/server/resources/log4j.properties" "$SOLR_VAR_DIR/log4j.properties"- sed_expr="s#solr.log=.*#solr.log=\${solr.solr.home}/../logs#"- sed -i -e "$sed_expr" "$SOLR_VAR_DIR/log4j.properties"fichown -R "$SOLR_USER:" "$SOLR_VAR_DIR"find "$SOLR_VAR_DIR" -type d -print0 | xargs -0 chmod 0750