From 4ad38c2e5f5fc337df23815742d54bbba172df03 Mon Sep 17 00:00:00 2001 From: einhornimmond Date: Mon, 19 May 2025 15:27:52 +0200 Subject: [PATCH] fix bun install script --- deployment/bare_metal/install-missing-deps.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/deployment/bare_metal/install-missing-deps.sh b/deployment/bare_metal/install-missing-deps.sh index f7d284e2d..c543bd4dc 100644 --- a/deployment/bare_metal/install-missing-deps.sh +++ b/deployment/bare_metal/install-missing-deps.sh @@ -29,8 +29,9 @@ then sudo apt-get install -y unzip fi echo "'bun' is missing, will be installed now!" - curl -fsSL https://bun.sh/install | BUN_INSTALL=/usr/local bash - export PATH="/root/.bun/bin:${PATH}" + curl -fsSL https://bun.sh/install | bash + export BUN_INSTALL="$HOME/.bun" + export PATH="$BUN_INSTALL/bin:$PATH" fi # turbo https://turborepo.com/docs/getting-started if ! command -v turbo &> /dev/null