0x30575c0f42065c32131d0bb9e0794d2083e358c01fca4c23f9d8f5b7d1f27b61
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 | |
# Upgrade Cosmos SDK and restart gaiad | |
POSITIONAL=() | |
while [[ $# -gt 0 ]] | |
do | |
key="$1" | |
case $key in | |
-t|--tag) |
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 | |
# Upgrade the system and install go | |
sudo apt update | |
sudo apt upgrade -y | |
sudo apt install gcc git make -y | |
sudo snap install --classic go | |
sudo mkdir -p /opt/go/bin | |
# Export environment variables |