Use Solr 6.6.1 (#377)

This commit is contained in:
Daniel Hansson 2017-09-26 19:57:55 +02:00 committed by GitHub
parent dc28ba6f5b
commit dd4979dc95
2 changed files with 3 additions and 8 deletions

View File

@ -2,13 +2,6 @@
# Tech and Me © - 2017, https://www.techandme.se/
## Nextant is broken so no need to install it.
echo "Sorry but this Nextant script is broken since Solr 7.0.0"
echo "We will fix this as soon as possible, but until then you can't install it with this script."
echo "Please try again later. Thank you for your patience."
sleep 5
exit 1
# shellcheck disable=2034,2059
true
# shellcheck source=lib.sh

4
lib.sh
View File

@ -84,7 +84,9 @@ COLLVER_FILE=richdocuments.tar.gz
COLLVER_REPO=https://github.com/nextcloud/richdocuments/releases/download
HTTPS_CONF="/etc/apache2/sites-available/$SUBDOMAIN.conf"
# Nextant
SOLR_VERSION=$(curl -s https://github.com/apache/lucene-solr/tags | grep -o "release.*</span>$" | grep -o '[0-9].[0-9].[0-9]' | sort -t. -k1,1n -k2,2n -k3,3n | tail -n1)
SOLR_VERSION=6.6.1
# this var get's the latest automatically:
#SOLR_VERSION=$(curl -s https://github.com/apache/lucene-solr/tags | grep -o "release.*</span>$" | grep -o '[0-9].[0-9].[0-9]' | sort -t. -k1,1n -k2,2n -k3,3n | tail -n1)
[ ! -z "$NEXTANT_INSTALL" ] && NEXTANT_VERSION=$(curl -s https://api.github.com/repos/nextcloud/nextant/releases/latest | grep 'tag_name' | cut -d\" -f4 | sed -e "s|v||g")
NT_RELEASE=nextant-$NEXTANT_VERSION.tar.gz
NT_DL=https://github.com/nextcloud/nextant/releases/download/v$NEXTANT_VERSION/$NT_RELEASE