Skip to content
Snippets Groups Projects
Commit 9117ee71 authored by Bob Mottram's avatar Bob Mottram
Browse files

Exit if architecture is not detected for IPFS install

parent da5d4d25
No related branches found
No related tags found
No related merge requests found
......@@ -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}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment