more install fixes
This commit is contained in:
parent
e4d5b693ea
commit
8d23a77ddc
|
|
@ -14,6 +14,7 @@ BUN_REAL="$HOME/.bun/bin/bun"
|
||||||
echo ">> Updating system libraries"
|
echo ">> Updating system libraries"
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y libcap2-bin
|
sudo apt-get install -y libcap2-bin
|
||||||
|
sudo apt-get install -y avahi-utils
|
||||||
|
|
||||||
echo ">> Ensuring bun is available in /usr/local/bin"
|
echo ">> Ensuring bun is available in /usr/local/bin"
|
||||||
if [ ! -x "$BUN_SYMLINK" ]; then
|
if [ ! -x "$BUN_SYMLINK" ]; then
|
||||||
|
|
@ -33,7 +34,7 @@ fi
|
||||||
|
|
||||||
echo ">> Setting CAP_NET_BIND_SERVICE on $BUN_REAL"
|
echo ">> Setting CAP_NET_BIND_SERVICE on $BUN_REAL"
|
||||||
sudo setcap 'cap_net_bind_service=+ep' "$BUN_REAL"
|
sudo setcap 'cap_net_bind_service=+ep' "$BUN_REAL"
|
||||||
getcap "$BUN_REAL" || true
|
/usr/sbin/getcap "$BUN_REAL" || true
|
||||||
|
|
||||||
echo ">> Installing systemd unit to $SYSTEMD_PATH"
|
echo ">> Installing systemd unit to $SYSTEMD_PATH"
|
||||||
sudo cp "$SERVICE_FILE" "$SYSTEMD_PATH"
|
sudo cp "$SERVICE_FILE" "$SYSTEMD_PATH"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user