File: script

package info (click to toggle)
mesa 25.2.8-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 312,152 kB
  • sloc: ansic: 2,185,354; xml: 1,028,239; cpp: 512,236; python: 76,148; asm: 38,329; yacc: 12,198; lisp: 4,114; lex: 3,429; sh: 855; makefile: 237
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