From 1f120ac59d2369d235d4d317c41cf87cf0c43865 Mon Sep 17 00:00:00 2001 From: Henrik Triem <henrik.triem@netways.de> Date: Mon, 21 Jun 2021 17:13:10 +0200 Subject: [PATCH] Rename icinga-go and remove sudo --- icinga-go => icinga-provide-go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename icinga-go => icinga-provide-go (74%) diff --git a/icinga-go b/icinga-provide-go similarity index 74% rename from icinga-go rename to icinga-provide-go index 75aa4de..f4d5141 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 -- GitLab