Exit if architecture is not detected for IPFS install
This commit is contained in:
parent
da5d4d25ba
commit
9117ee7118
|
@ -427,6 +427,10 @@ function mesh_install_ipfs_go {
|
|||
echo $"Using $IPFS_ARCH"
|
||||
fi
|
||||
fi
|
||||
if [ ! $IPFS_ARCH ]; then
|
||||
echo $'Architecture not detected for IPFS install'
|
||||
exit 738765235
|
||||
fi
|
||||
|
||||
IPFS_FILE=go-ipfs_v${IPFS_GO_VERSION}_linux-${IPFS_ARCH}.tar.gz
|
||||
wget https://ipfs.io/ipns/dist.ipfs.io/go-ipfs/v${IPFS_GO_VERSION}/${IPFS_FILE}
|
||||
|
|
Loading…
Reference in New Issue