Skip to content
Snippets Groups Projects
Commit 1f120ac5 authored by Henrik Triem's avatar Henrik Triem
Browse files

Rename icinga-go and remove sudo

parent 47cdc7be
No related branches found
No related tags found
No related merge requests found
Pipeline #18529 passed
...@@ -7,13 +7,13 @@ set -ex ...@@ -7,13 +7,13 @@ set -ex
echo "Downloading Go Version ${VERSION_GO}" echo "Downloading Go Version ${VERSION_GO}"
curl -LO https://golang.org/dl/go${VERSION_GO}.linux-amd64.tar.gz curl -LO https://golang.org/dl/go${VERSION_GO}.linux-amd64.tar.gz
sudo rm -rf /usr/local/go rm -rf /usr/local/go
echo "Unpacking Go" echo "Unpacking Go"
sudo tar -C /usr/local -xzf go${VERSION_GO}.linux-amd64.tar.gz tar -C /usr/local -xzf go${VERSION_GO}.linux-amd64.tar.gz
echo "Deleting Go Binary Archive" echo "Deleting Go Binary Archive"
sudo rm -rf go${VERSION_GO}.linux-amd64.tar.gz rm -rf go${VERSION_GO}.linux-amd64.tar.gz
if [[ ! -e "$HOME"/.bashrc ]]; then if [[ ! -e "$HOME"/.bashrc ]]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment