tweak install scripts
This commit is contained in:
parent
c224dd25a9
commit
92cf18f0b5
|
|
@ -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}"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user