File: script

package info (click to toggle)
mesa 25.0.7-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 306,540 kB
  • sloc: ansic: 2,158,395; xml: 1,012,944; cpp: 519,672; python: 76,489; asm: 38,315; lisp: 20,507; yacc: 12,135; lex: 3,424; sh: 861; makefile: 256
file content (26 lines) | stat: -rw-r--r-- 448 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/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