Going dependency-less except for docker stuff now.

This commit is contained in:
Leopere 2018-11-06 17:26:57 -05:00
parent e2627b008f
commit 40a914cbdd
No known key found for this signature in database
GPG key ID: 64476C903E477CCB

View file

@ -52,13 +52,13 @@ case $1 in
getdata )
## Get DB Checkpoint data.
echo Asked to get the latest checkpoint data from
wget http://chainquery-data.s3.amazonaws.com/chainquery-data.zip -o ./chainquery.zip
docker run -v $(pwd)/:/download --rm leopere/axel-docker http://chainquery-data.s3.amazonaws.com/chainquery-data.zip -o ./chainquery.zip
;;
extract )
## Unpack the data again if need be.
echo Asked to unpack chainquery.zip if downloaded.
# TODO: add some magic here which will check for the presence of chainquery.zip and notify if its already gone.
unzip ./chainquery.zip
docker run -v $(pwd)/:/data --rm leopere/unzip-docker ./chainquery.zip
;;
cleanup )
## Remove any junk here.