postplug/scripts/update-alternatives-set-dri

5 lines
189 B
Bash
Executable File

#!/bin/bash
# Set DRI alternatives for Mesa/Xorg
update-alternatives --set libglx.so @LIBDIR@/xorg/modules/glx-dri/libglx.so
update-alternatives --set libGL.so.1 @LIBDIR@/mesa/libGL.so.1.2