File: script

package info (click to toggle)
mesa 26.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 325,884 kB
  • sloc: ansic: 2,260,508; xml: 1,035,283; cpp: 528,036; python: 83,447; asm: 40,568; yacc: 12,040; lisp: 3,663; lex: 3,461; sh: 1,035; makefile: 224
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