From 92cf18f0b57d46d32784151b712bc6f457fd2f25 Mon Sep 17 00:00:00 2001 From: Chris Wanstrath <2+defunkt@users.noreply.github.com> Date: Wed, 4 Feb 2026 16:59:34 -0800 Subject: [PATCH] tweak install scripts --- scripts/config.sh | 2 +- scripts/install.sh | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/config.sh b/scripts/config.sh index 24eae03..81b614f 100755 --- a/scripts/config.sh +++ b/scripts/config.sh @@ -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}" diff --git a/scripts/install.sh b/scripts/install.sh index 702cc70..2aa2e77 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -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