Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (9 sloc) 314 Bytes
#!/usr/bin/env bash
set -e
# Ensure "dev" core config is always up to date even after the
# core has been created. This does not execute the first time,
# when solr-precreate has not yet run.
CORENAME=dev
if [ -d /var/solr/data/${CORENAME}/conf ]; then
cp /solr-conf/conf/* /var/solr/data/${CORENAME}/conf
fi
You can’t perform that action at this time.