mesa/debian/local/script
Ward Nakchbandi (Cosmic Fusion) 9f859ab40d first commit
2023-08-08 19:36:56 +03:00

27 lines
448 B
Bash

#!/bin/sh
SERVER_BUG_SCRIPT=/usr/share/bug/xserver-xorg-core/script
exec >&3
echo "glxinfo:"
echo "--------"
if [ -z "$DISPLAY" ]; then
echo "DISPLAY is not set."
else
if which glxinfo >/dev/null 2>&1; then
glxinfo
else
echo "glxinfo is not available (missing mesa-utils package)."
fi
fi
echo
if [ -x "$SERVER_BUG_SCRIPT" ]; then
$SERVER_BUG_SCRIPT 3>&1
else
echo "$SERVER_BUG_SCRIPT not available"
fi