From 54d4055da1e8be1e01396e801e1357b60ed7e28c Mon Sep 17 00:00:00 2001 From: elhard1 Date: Thu, 26 Mar 2026 09:11:30 +0800 Subject: [PATCH] fix(start.sh): add missing fi after UV bootstrap block The UV install conditional was never closed, which caused 'unexpected end of file' from bash -n and broke the macOS/Linux startup path. Document in ChangelogModal BUG_FIXES (2026-03-26). Made-with: Cursor --- frontend/src/components/ChangelogModal.tsx | 1 + start.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/frontend/src/components/ChangelogModal.tsx b/frontend/src/components/ChangelogModal.tsx index 38ab595..e2464f1 100644 --- a/frontend/src/components/ChangelogModal.tsx +++ b/frontend/src/components/ChangelogModal.tsx @@ -41,6 +41,7 @@ const NEW_FEATURES = [ ]; const BUG_FIXES = [ + "Fixed start.sh: added missing `fi` after UV install block — valid bash again; setup runs whether or not uv was preinstalled (2026-03-26)", "Stable entity IDs for GDELT & News popups — no more wrong popup after data refresh (PR #63)", "useCallback optimization for interpolation functions — eliminates redundant React re-renders on every 1s tick", "Restored missing GDELT and datacenter background refreshes in slow-tier loop", diff --git a/start.sh b/start.sh index bf6e54b..f14040c 100644 --- a/start.sh +++ b/start.sh @@ -46,6 +46,7 @@ if ! command -v uv &> /dev/null; then fi export PATH="$HOME/.local/bin:$PATH" echo "[*] UV installed successfully." +fi # Get the directory where this script lives SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"