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