From aa4635420fa77b098e5c0faa08408db6197208f1 Mon Sep 17 00:00:00 2001 From: Shrikant Sharat Kandula Date: Fri, 21 Aug 2020 13:56:40 +0530 Subject: [PATCH] Fix bc command not found in RHEL in install script (#391) --- deploy/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/install.sh b/deploy/install.sh index b68c690653..8982a6e2ad 100755 --- a/deploy/install.sh +++ b/deploy/install.sh @@ -14,7 +14,7 @@ check_ports_occupied() { sudo netstat -anp tcp else sudo netstat -tupln tcp - fi | awk '$6 == "LISTEN" && $4 ~ /^.*[.:](80|443)$/' | wc -l | bc + fi | awk '$6 == "LISTEN" && $4 ~ /^.*[.:](80|443)$/' | wc -l | grep -o '[[:digit:]]\+' )" }