chore: don't default to installing system files in scripts (#2592)

This commit is contained in:
cyan
2025-10-17 19:01:31 +02:00
committed by GitHub
parent 718db2f214
commit 3756d46ad4
6 changed files with 9 additions and 11 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
if [[ "$1" == "--dont-install" ]]; then
echo "Skipping Go installation as per --dont-install flag"
else
#!/bin/bash
if [[ "$1" == "--install" ]]; then
# install go > 1.24:
wget https://go.dev/dl/go1.24.1.linux-amd64.tar.gz
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.24.1.linux-amd64.tar.gz
+1 -3
View File
@@ -2,9 +2,7 @@
set -e -x
if [[ "$1" == "--dont-install" ]]; then
echo "Skipping Go installation as per --dont-install flag"
else
if [[ "$1" == "--install" ]]; then
# install go > 1.24:
brew install go
export PATH=$PATH:~/go/bin