live-build/share/hooks/0320-update-glx-alternative...

10 lines
152 B
Plaintext
Raw Normal View History

#!/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