Skip to content

Commit

Permalink
Added a check/install for LZ4 for Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
sfaber34 committed May 18, 2024
1 parent eaf6c90 commit 8c6ee43
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/nextjs/public/bgnodes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,14 @@ if [ "$os_name" = "Linux" ]; then
color "1" "Installing Git"
sudo apt-get install git-all -y
fi

if command -v lz4 >/dev/null 2>&1; then
color "36" "LZ4 is installed. Version:"
lz4 --version
else
color "1" "Installing LZ4"
sudo apt-get install lz4
fi
fi

color "1" "Cloning BGNodes repo"
Expand Down

0 comments on commit 8c6ee43

Please sign in to comment.