Skip to content

Instantly share code, notes, and snippets.

View thisisbrians's full-sized avatar

Brian Keith Smith thisisbrians

View GitHub Profile
#!/bin/bash
##CHECK IF INSTALLED AND DOWNLOAD
if [ ! -f ~/dogecoin-bin/bin/dogecoind ]; then
command -v curl >/dev/null 2>&1 || { echo >&2 "I require curl but it's not installed. Aborting."; exit 1; }
##CHECK ARCH
arch=$(uname -m)
echo Downloading Dogecoind for $arch
if [ "$arch" == 'x86_64' ]