Remove existing Go
This commit is contained in:
parent
de9542cb4d
commit
bea51fe17b
@ -71,6 +71,7 @@ apt install gawk -y #incase it is not installed
|
||||
# Download and install Go
|
||||
wget https://go.dev/dl/$GO_BINARY || { echo "Failed to download Node! Exiting..."; exit_message; exit 1; }
|
||||
sudo tar -xvf $GO_BINARY || { echo "Failed to extract Go! Exiting..."; exit_message; exit 1; }
|
||||
sudo rm -rf /usr/local/go || { echo "Failed to remove existing Go! Exiting..."; exit_message; exit 1; }
|
||||
sudo mv go /usr/local || { echo "Failed to move go! Exiting..."; exit_message; exit 1; }
|
||||
sudo rm go1.20.14.linux-amd64.tar.gz || { echo "Failed to remove downloaded archive! Exiting..."; exit_message; exit 1; }
|
||||
|
||||
@ -440,7 +441,7 @@ echo "
|
||||
|_____/ \____|_|_|_|_|_|_|_|\____|___/
|
||||
"
|
||||
|
||||
|
||||
echo "Welcome you Dummy! What would you like to do today?"
|
||||
|
||||
echo "Please choose an option:"
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user