Skip to content

Instantly share code, notes, and snippets.

@robinbowes
Created January 28, 2013 22:11
Show Gist options
  • Save robinbowes/4659657 to your computer and use it in GitHub Desktop.
Save robinbowes/4659657 to your computer and use it in GitHub Desktop.
[rbowes@s01 rpmbuild]$ ES_PACKAGE=elasticsearch-0.20.2.zip
[rbowes@s01 rpmbuild]$ ES_DIR=${ES_PACKAGE%%.zip}
[rbowes@s01 rpmbuild]$ SITE=https://github.com/downloads/elasticsearch/elasticsearch
[rbowes@s01 rpmbuild]$ if [ ! -d "$ES_DIR" ] ; then
> wget --no-check-certificate $SITE/$ES_PACKAGE
> unzip $ES_PACKAGE
> fi
--2013-01-28 22:06:43-- https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.20.2.zip
Resolving github.com... 207.97.227.239
Connecting to github.com|207.97.227.239|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2013-01-28 22:06:43 ERROR 404: Not Found.
unzip: cannot find or open elasticsearch-0.20.2.zip, elasticsearch-0.20.2.zip.zip or elasticsearch-0.20.2.zip.ZIP.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment