From d2b334c8e7e249bc42ae3ea729ed78276489ded2 Mon Sep 17 00:00:00 2001 From: Noah Hilverling <noah.hilverling@icinga.com> Date: Tue, 22 Jun 2021 12:56:05 +0000 Subject: [PATCH] icinga-provide-go: Link binaries instead of appending to path --- icinga-provide-go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/icinga-provide-go b/icinga-provide-go index 4017708..cbab535 100755 --- a/icinga-provide-go +++ b/icinga-provide-go @@ -15,7 +15,4 @@ 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 "export PATH=$PATH:/usr/local/go/bin" >> /home/build/.bash_env - -# shellcheck disable=SC1091 -source /etc/profile +ln -s /usr/local/go/bin* /usr/local/bin -- GitLab