summaryrefslogtreecommitdiff
path: root/share/hooks/live/0420-update-glx-alternative.hook.chroot
blob: 8c36c43f9a7a008dd079d5737c373bddac052c82 (plain)
1
2
3
4
5
6
7
8
9
#!/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