#!/usr/bin/env bash
set -euo pipefail

sudo () {
  # if root, don't use sudo
  [[ $EUID = 0 ]] || set -- command sudo "$@"
  "$@"
}

sudo apt-get install -y libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb
