Merge pull request #3487 from gradido/fix_bun_installer

fix(other): correct bun install script
This commit is contained in:
einhornimmond 2025-05-20 11:10:13 +02:00 committed by GitHub
commit 4fc421f12b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,8 +12,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