diff --git a/icinga-go b/icinga-provide-go similarity index 74% rename from icinga-go rename to icinga-provide-go index 75aa4de9fe09ba6993c79ac9e5f456bac3fb4bd8..f4d5141ec4e8f25a4b0a5ce838aebebc603a2dc6 100755 --- a/icinga-go +++ b/icinga-provide-go @@ -7,13 +7,13 @@ set -ex echo "Downloading Go Version ${VERSION_GO}" 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" -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" -sudo rm -rf go${VERSION_GO}.linux-amd64.tar.gz +rm -rf go${VERSION_GO}.linux-amd64.tar.gz if [[ ! -e "$HOME"/.bashrc ]]; then