#!/bin/bash set -eu -o pipefail # TODO detect and use sudo providers test -n "${QUIET:-}" || echo "pkexec $@" pkexec "$@"