This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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' ] |