diff options
Diffstat (limited to 'abs/core/catalyst/catalyst.sh')
-rw-r--r-- | abs/core/catalyst/catalyst.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/abs/core/catalyst/catalyst.sh b/abs/core/catalyst/catalyst.sh new file mode 100644 index 0000000..7aedd4f --- /dev/null +++ b/abs/core/catalyst/catalyst.sh @@ -0,0 +1,11 @@ +if [ $LIBGL_DRIVERS_PATH ] +then + if ! set | grep LIBGL_DRIVERS_PATH | grep /usr/lib/xorg/modules/dri/ > /dev/null + then + LIBGL_DRIVERS_PATH=$LIBGL_DRIVERS_PATH:/usr/lib/xorg/modules/dri/ + export LIBGL_DRIVERS_PATH + fi +else + LIBGL_DRIVERS_PATH=/usr/lib/xorg/modules/dri/ + export LIBGL_DRIVERS_PATH +fi |