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.
|
# You also need to manually update the toes.service file.
|
||||||
HOST="${HOST:-toes@toes.local}"
|
HOST="${HOST:-toes@toes.local}"
|
||||||
URL="${URL:-http://toes.local}"
|
URL="${URL:-http://toes.local}"
|
||||||
DEST="${DEST:-~/.toes}"
|
DEST="${DEST:-~/toes}"
|
||||||
APPS_DIR="${APPS_DIR:-~/apps}"
|
APPS_DIR="${APPS_DIR:-~/apps}"
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,11 @@ if [ ! -x "$BUN_SYMLINK" ]; then
|
||||||
else
|
else
|
||||||
echo ">> Installing bun at $BUN_REAL"
|
echo ">> Installing bun at $BUN_REAL"
|
||||||
quiet sudo apt install unzip
|
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"
|
quiet sudo ln -sf "$BUN_REAL" "$BUN_SYMLINK"
|
||||||
echo "Symlinked $BUN_REAL -> $BUN_SYMLINK"
|
echo "Symlinked $BUN_REAL -> $BUN_SYMLINK"
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user