Skip to content
Snippets Groups Projects
Commit e0fe4864 authored by Noah Hilverling's avatar Noah Hilverling
Browse files

Revert "icinga-provide-go: Just provide the "go" binary in "/usr/local/bin""

This reverts commit a5637b57
parent a5637b57
No related branches found
No related tags found
No related merge requests found
Pipeline #18569 passed
......@@ -7,14 +7,15 @@ set -ex
echo "Downloading Go Version ${VERSION_GO}"
curl -LO https://golang.org/dl/go${VERSION_GO}.linux-amd64.tar.gz
echo "Unpacking Go"
tar -C /tmp -xzf go${VERSION_GO}.linux-amd64.tar.gz
rm -rf /usr/local/go
echo "Moving Go Binary"
mv /tmp/go/bin/go /usr/local/bin
echo "Unpacking Go"
tar -C /usr/local -xzf go${VERSION_GO}.linux-amd64.tar.gz
echo "Deleting Go Binary Archive"
rm -rf go${VERSION_GO}.linux-amd64.tar.gz
echo "Deleting temporary files"
rm -rf /tmp/go/
echo "export PATH=$PATH:/usr/local/go/bin" >> /etc/profile
# shellcheck disable=SC1091
source /etc/profile
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