#!/bin/sh set -e # Use mesa renderer by default if [ -e /etc/alternatives/glx ] then update-alternatives --quiet --set glx /usr/lib/mesa-diverted fi