From 8f8f79fa05dbf9ae6bb148ebdd9bfe21e81df4e2 Mon Sep 17 00:00:00 2001 From: William Godbe Date: Wed, 17 Feb 2021 12:39:13 -0800 Subject: [PATCH] Only install nginx if not already installed --- eng/scripts/install-nginx-mac.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eng/scripts/install-nginx-mac.sh b/eng/scripts/install-nginx-mac.sh index b44bd5d92866..e7df86f57c0a 100755 --- a/eng/scripts/install-nginx-mac.sh +++ b/eng/scripts/install-nginx-mac.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash brew update -brew install openssl nginx +brew list openssl || brew install openssl +brew list nginx || brew install nginx