From 6e7e31d2b44c293f201bda769a251d2c077824bd Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Fri, 18 Mar 2022 16:29:03 -0600 Subject: [PATCH] bootstrap: Don't auto-install on Mac Signed-off-by: Zack Cerza --- bootstrap | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/bootstrap b/bootstrap index 3cbde9a800..3d7f4a6250 100755 --- a/bootstrap +++ b/bootstrap @@ -131,7 +131,14 @@ Darwin) if brew list $keg >/dev/null 2>&1; then echo "Found $keg" else - brew install $keg + if [ "$install" = true ]; then + brew install $keg + else + missing="${missing:+$missing }$keg" + echo "Please install missing packages or run './bootstrap install':" + echo "brew install $missing" + exit 1 + fi fi done ;; -- 2.39.5