This file contains hidden or 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 | |
# | |
# Use this script with sudo to install multiple golang | |
# installations. | |
if [[ $(id -u) -ne 0 ]] ; then echo "This script should be run using | |
sudo or as the root user" ; exit 1 ; | |
fi | |
# Ensure the user wants to rm the contents of /opt/golang! |
OlderNewer