Update ES download URL

This commit is contained in:
Wiibaa 2013-04-17 21:34:17 +02:00
parent f0196dbdc0
commit e27e4080ba

View file

@ -42,7 +42,7 @@ for easy downloading of ElasticSearch:
ES_PACKAGE=elasticsearch-%ELASTICSEARCH_VERSION%.zip ES_PACKAGE=elasticsearch-%ELASTICSEARCH_VERSION%.zip
ES_DIR=${ES_PACKAGE%%.zip} ES_DIR=${ES_PACKAGE%%.zip}
SITE=https://github.com/downloads/elasticsearch/elasticsearch SITE=https://download.elasticsearch.org/elasticsearch/elasticsearch
if [ ! -d "$ES_DIR" ] ; then if [ ! -d "$ES_DIR" ] ; then
wget --no-check-certificate $SITE/$ES_PACKAGE wget --no-check-certificate $SITE/$ES_PACKAGE
unzip $ES_PACKAGE unzip $ES_PACKAGE