Built Golang with certain version instead

This commit is contained in:
MangoPig 2025-12-03 02:57:12 +00:00
parent 2040e01a08
commit 2ad3a414db

View File

@ -71,11 +71,11 @@ done
# Extra packages for specific distros
if [ "$OS" == "arch" ] || [ "$OS" == "manjaro" ]; then
FINAL_LIST="$FINAL_LIST eza go"
FINAL_LIST="$FINAL_LIST eza"
fi
if [ "$OS" == "ubuntu" ] || [ "$OS" == "debian" ]; then
FINAL_LIST="$FINAL_LIST ca-certificates bsdmainutils pkg-config cmake golang-go sysstat"
FINAL_LIST="$FINAL_LIST ca-certificates bsdmainutils pkg-config cmake"
fi
echo -e "${BLUE} LOG:${YELLOW} Installing: ${NC}$FINAL_LIST"
@ -133,6 +133,11 @@ if [ ! -d "$HOME/.nvm" ]; then
fi
# Go and GVM
wget https://go.dev/dl/go1.25.4.linux-amd64.tar.gz -O /tmp/go1.25.4.linux-amd64.tar.gz
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf /tmp/go1.25.4.linux-amd64.tar.gz
rm -f /tmp/go1.25.4.linux-amd64.tar.gz
if [ ! -d "$HOME/.gvm" ]; then
bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)
fi