Update IPFS daemon to latest version

master
Melroy van den Berg 2021-08-17 16:27:53 +02:00
parent 471712a500
commit bf153f4baa
No known key found for this signature in database
GPG Key ID: 71D11FF23454B9D7
2 changed files with 10 additions and 2 deletions

Binary file not shown.

View File

@ -1,8 +1,16 @@
#!/bin/bash
IPFS_VERSION=0.8.0
# By: Melroy van den Berg
#
# Provide the IPFS version below
IPFS_VERSION=0.9.1
##############################
# Leave the code alone below #
##############################
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
echo "INFO: Start downloading..."
echo "INFO: Start downloading IPFS (version ${IPFS_VERSION})..."
# Download & untar Go-IPFS
wget --quiet "https://dist.ipfs.io/go-ipfs/v${IPFS_VERSION}/go-ipfs_v${IPFS_VERSION}_linux-amd64.tar.gz" -O "$CURRENT_DIR/go-ipfs.tar.gz"