Update photoprism-install.sh

up go version
This commit is contained in:
tteckster 2022-10-11 15:03:36 -04:00 committed by GitHub
parent 56e1f905ce
commit 6b1e446698
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -92,8 +92,8 @@ apt-get install -y nodejs &>/dev/null
msg_ok "Installed Node.js"
msg_info "Installing Golang (Patience)"
wget https://golang.org/dl/go1.19.linux-amd64.tar.gz &>/dev/null
tar -xzf go1.19.linux-amd64.tar.gz -C /usr/local &>/dev/null
wget https://golang.org/dl/go1.19.2.linux-amd64.tar.gz &>/dev/null
tar -xzf go1.19.2.linux-amd64.tar.gz -C /usr/local &>/dev/null
ln -s /usr/local/go/bin/go /usr/local/bin/go &>/dev/null
go install github.com/tianon/gosu@latest &>/dev/null
go install golang.org/x/tools/cmd/goimports@latest &>/dev/null