Skip to content

Commit

Permalink
#114 Minor changes to code comments
Browse files Browse the repository at this point in the history
  • Loading branch information
extracts committed Nov 2, 2023
1 parent 3952fcf commit 789a7e6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bin/install_solr_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ SOLR_TAR="solr-$SOLR_VERSION.tgz"
mkdir -p "downloads"
cd downloads

# Get & extract Solr archive
# Download Solr version
if test ! -f "$SOLR_TAR"; then
# the Solr download URL differs for versions >=9.0.0
if [[ "$version" =~ ^[1-8]\.[0-9]+\.[0-9]+$ ]]; then
Expand All @@ -46,10 +46,11 @@ if test ! -f "$SOLR_TAR"; then
SOLR_URL="https://www.apache.org/dyn/closer.lua/solr/solr/$SOLR_VERSION/$SOLR_TAR?action=download"
fi

# Download Solr version
echo "Getting: $SOLR_URL"
wget -q --show-progress --progress=bar:force $SOLR_URL -O $SOLR_TAR
fi

# Extract Solr archive
tar xfz "$SOLR_TAR" -C ..

# Configure & start Solr
Expand Down

0 comments on commit 789a7e6

Please sign in to comment.