Update install/authentik-install.sh

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>
This commit is contained in:
Rémi Bédard-Couture 2024-12-08 15:49:41 -05:00 committed by GitHub
parent 89dd439971
commit d1d4f4a1ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -68,7 +68,7 @@ msg_ok "Installed Node.js ${NODE_VER}"
msg_info "Installing Golang" msg_info "Installing Golang"
set +o pipefail set +o pipefail
GO_RELEASE=$(curl -s https://go.dev/dl/ | grep -o -m 1 "go.*\linux-amd64.tar.gz") GO_RELEASE=$(curl -s https://go.dev/dl/ | grep -o -m 1 "go.*\linux-amd64.tar.gz")
$STD wget -q https://golang.org/dl/${GO_RELEASE} wget -q https://golang.org/dl/${GO_RELEASE}
tar -xzf ${GO_RELEASE} -C /usr/local tar -xzf ${GO_RELEASE} -C /usr/local
$STD ln -s /usr/local/go/bin/go /usr/bin/go $STD ln -s /usr/local/go/bin/go /usr/bin/go
rm -rf go/ rm -rf go/