From 718f28429223ecd889511781853b21249c65688f Mon Sep 17 00:00:00 2001 From: Bobby Christopher Date: Tue, 15 Jul 2025 17:55:33 -0400 Subject: [PATCH] not sure if this is right but maybe --- install.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index af8a6cba..0504b65b 100755 --- a/install.sh +++ b/install.sh @@ -233,7 +233,12 @@ install_mac() { fi else - ohai "Installing Agentuity CLI using curl..." + ohai "Installing Agentuity CLI using curl..." + # Use the overridable CURL var, abort on error, and stop this script afterwards + if ! "$CURL" -fsSL https://agentuity.sh | sh; then + abort "cURL installation failed. Please check your connection or try --no-brew again." + fi + success # print final message & exit 0 fi }