mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
chore: don't default to installing system files in scripts (#2592)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user