diff --git a/app/scripts/install.sh b/app/scripts/install.sh index d9bfd66..910b089 100755 --- a/app/scripts/install.sh +++ b/app/scripts/install.sh @@ -14,6 +14,7 @@ BUN_REAL="$HOME/.bun/bin/bun" echo ">> Updating system libraries" sudo apt-get update sudo apt-get install -y libcap2-bin +sudo apt-get install -y avahi-utils echo ">> Ensuring bun is available in /usr/local/bin" if [ ! -x "$BUN_SYMLINK" ]; then @@ -33,7 +34,7 @@ fi echo ">> Setting CAP_NET_BIND_SERVICE on $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" sudo cp "$SERVICE_FILE" "$SYSTEMD_PATH"