Skip to content

Commit

Permalink
fix: add -y
Browse files Browse the repository at this point in the history
  • Loading branch information
HashMapsData2Value committed Nov 6, 2024
1 parent fb3c471 commit 3512250
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmd/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func installNodeLinux() {
installCmd = `sudo apt update
sudo apt install -y gnupg2 curl software-properties-common
curl -o - https://releases.algorand.com/key.pub | sudo tee /etc/apt/trusted.gpg.d/algorand.asc
sudo add-apt-repository "deb [arch=amd64] https://releases.algorand.com/deb/ stable main"
sudo add-apt-repository -y "deb [arch=amd64] https://releases.algorand.com/deb/ stable main"
sudo apt update
# To get both algorand and the devtools:
Expand All @@ -106,7 +106,7 @@ func installNodeLinux() {
installCmd = `sudo apt-get update
sudo apt-get install -y gnupg2 curl software-properties-common
curl -o - https://releases.algorand.com/key.pub | sudo tee /etc/apt/trusted.gpg.d/algorand.asc
sudo add-apt-repository "deb [arch=amd64] https://releases.algorand.com/deb/ stable main"
sudo add-apt-repository -y "deb [arch=amd64] https://releases.algorand.com/deb/ stable main"
sudo apt-get update
# To get both algorand and the devtools:
Expand Down Expand Up @@ -330,6 +330,7 @@ func startAlgodProcess() {
os.Exit(1)
}

// Wait for the process to start
time.Sleep(5 * time.Second)

if isAlgodRunning() {
Expand Down

0 comments on commit 3512250

Please sign in to comment.