tweak install scripts

This commit is contained in:
Chris Wanstrath 2026-02-04 16:59:34 -08:00
parent c224dd25a9
commit 92cf18f0b5
2 changed files with 6 additions and 2 deletions

View File

@ -4,5 +4,5 @@
# You also need to manually update the toes.service file.
HOST="${HOST:-toes@toes.local}"
URL="${URL:-http://toes.local}"
DEST="${DEST:-~/.toes}"
DEST="${DEST:-~/toes}"
APPS_DIR="${APPS_DIR:-~/apps}"

View File

@ -28,7 +28,11 @@ if [ ! -x "$BUN_SYMLINK" ]; then
else
echo ">> Installing bun at $BUN_REAL"
quiet sudo apt install unzip
quiet curl -fsSL https://bun.sh/install | bash
curl -fsSL https://bun.sh/install | bash > /dev/null 2>&1
if [ ! -x "$BUN_REAL" ]; then
echo "ERROR: bun installation failed - $BUN_REAL not found"
exit 1
fi
quiet sudo ln -sf "$BUN_REAL" "$BUN_SYMLINK"
echo "Symlinked $BUN_REAL -> $BUN_SYMLINK"
fi