From f9eea806ddc718476f5cbdf6c9b1d8d6133ceb6b Mon Sep 17 00:00:00 2001 From: John Doe Date: Wed, 4 Mar 2026 15:53:30 -0500 Subject: [PATCH] fix: simplify LocalAGI build process by removing error handling --- install/localagi-install.sh | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/install/localagi-install.sh b/install/localagi-install.sh index 5e1b773c0..7c79bea17 100644 --- a/install/localagi-install.sh +++ b/install/localagi-install.sh @@ -44,16 +44,12 @@ chmod 600 /opt/localagi/.env msg_ok "Configured LocalAGI" msg_info "Building LocalAGI from source" -if ! ( - cd /opt/localagi/webui/react-ui && - $STD bun install && - $STD bun run build && - cd /opt/localagi && - $STD go build -o /usr/local/bin/localagi -); then - msg_error "Failed to build LocalAGI from source" - exit 1 -fi + +cd /opt/localagi/webui/react-ui && + $STD bun install && + $STD bun run build && + cd /opt/localagi && + $STD go build -o /usr/local/bin/localagi msg_ok "Built LocalAGI from source" msg_info "Creating Service"