#!/bin/sh

set -eu

if [ -n "${DISPLAY:-}" ]
then
    /usr/bin/calfjackhost --version
else
    xvfb-run -a /usr/bin/calfjackhost --version
fi
