From b82c1349f229be4af8f68898b02167af98f2e47c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 6 May 2013 20:08:10 +0200 Subject: Renumbering hook scripts. --- share/hooks/0420-update-glx-alternative.chroot | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 share/hooks/0420-update-glx-alternative.chroot (limited to 'share/hooks/0420-update-glx-alternative.chroot') diff --git a/share/hooks/0420-update-glx-alternative.chroot b/share/hooks/0420-update-glx-alternative.chroot new file mode 100755 index 000000000..8c36c43f9 --- /dev/null +++ b/share/hooks/0420-update-glx-alternative.chroot @@ -0,0 +1,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 -- cgit v1.2.3