From 3ff08d5650e5b96e5ebc5c0e4279ec6d72a03ea2 Mon Sep 17 00:00:00 2001 From: el tumero <73755148+el-tumero@users.noreply.github.com> Date: Mon, 2 Sep 2024 18:20:58 +0000 Subject: [PATCH] install script minor fix --- install.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 55ec235..4b81c04 100755 --- a/install.sh +++ b/install.sh @@ -2,7 +2,7 @@ # Script for setting up the project # This script assumes a unix environment -# Last modified: 21/08/2024 +# Last modified: 02/09/2024 HARDHAT_DEFAULT_PORT=8545 @@ -14,6 +14,10 @@ if ! cmd_exists yarn; then echo "Error: yarn is not installed or not in PATH"; exit 1 fi +if ! cmd_exists nc; then + echo "Error: nc (netcat) is not installed or not in PATH"; exit 1 +fi + require_ok() { if [ $? -ne 0 ]; then echo "Error: $1 failed"