Codebase list live-build / a86b1643-b0cf-49e0-a98c-74d2d76fe3d1/main share / hooks / normal / 0420-update-glx-alternative.hook.chroot
a86b1643-b0cf-49e0-a98c-74d2d76fe3d1/main

Tree @a86b1643-b0cf-49e0-a98c-74d2d76fe3d1/main (Download .tar.gz)

0420-update-glx-alternative.hook.chroot @a86b1643-b0cf-49e0-a98c-74d2d76fe3d1/mainraw · history · blame

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