File: script

package info (click to toggle)
mesa 25.3.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 322,588 kB
  • sloc: ansic: 2,212,221; xml: 1,032,268; cpp: 519,763; python: 81,993; asm: 40,568; yacc: 11,976; lisp: 5,067; lex: 3,452; 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