diff --git a/apps/nextant.sh b/apps/nextant.sh index 4b639198..5d05e95e 100644 --- a/apps/nextant.sh +++ b/apps/nextant.sh @@ -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 diff --git a/lib.sh b/lib.sh index b9b6218a..1247cda6 100644 --- a/lib.sh +++ b/lib.sh @@ -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.*$" | 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.*$" | 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