From 8476be98d36efab602f74110ab36c14d74cefca0 Mon Sep 17 00:00:00 2001
From: Noah Hilverling <noah.hilverling@icinga.com>
Date: Tue, 22 Jun 2021 11:59:49 +0000
Subject: [PATCH] icinga-provide-go: Append to bath in ".bash_env"

---
 icinga-provide-go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/icinga-provide-go b/icinga-provide-go
index 9097da6..4017708 100755
--- a/icinga-provide-go
+++ b/icinga-provide-go
@@ -15,7 +15,7 @@ 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" >> /etc/profile
+echo "export PATH=$PATH:/usr/local/go/bin" >> /home/build/.bash_env
 
 # shellcheck disable=SC1091
 source /etc/profile
-- 
GitLab