Loading images/solr/init.d/02-init-esgf-cores.sh +2 −2 Original line number Diff line number Diff line Loading @@ -10,11 +10,11 @@ ESGF_CORES=( "datasets" "files" "aggregations" ) for corename in "${ESGF_CORES[@]}"; do coredir="$SOLR_HOME/$corename" # Create the core directory if it doesn't already exist if [ ! -f "$coredir/core.properties" ]; then if [ ! -d "$coredir" ]; then mkdir -p "$coredir" touch "$coredir/core.properties" fi # Replace the core configuration with the most recent version cp "/esg/solr-home/$corename/core.properties" "$coredir/core.properties" rm -rf "$coredir/conf" cp -r /esg/core-template/conf "$coredir/conf" done Loading
images/solr/init.d/02-init-esgf-cores.sh +2 −2 Original line number Diff line number Diff line Loading @@ -10,11 +10,11 @@ ESGF_CORES=( "datasets" "files" "aggregations" ) for corename in "${ESGF_CORES[@]}"; do coredir="$SOLR_HOME/$corename" # Create the core directory if it doesn't already exist if [ ! -f "$coredir/core.properties" ]; then if [ ! -d "$coredir" ]; then mkdir -p "$coredir" touch "$coredir/core.properties" fi # Replace the core configuration with the most recent version cp "/esg/solr-home/$corename/core.properties" "$coredir/core.properties" rm -rf "$coredir/conf" cp -r /esg/core-template/conf "$coredir/conf" done