]>
Commit | Line | Data |
---|---|---|
accb1901 TG |
1 | #!/bin/sh |
2 | ||
3 | SERVER_BUG_SCRIPT=/usr/share/bug/xserver-xorg-core/script | |
4 | ||
5 | exec >&3 | |
6 | ||
7 | echo "glxinfo:" | |
8 | echo "--------" | |
9 | ||
10 | if [ -z "$DISPLAY" ]; then | |
11 | echo "DISPLAY is not set." | |
12 | else | |
13 | if which glxinfo >/dev/null 2>&1; then | |
14 | glxinfo | |
15 | else | |
16 | echo "glxinfo is not available (missing mesa-utils package)." | |
17 | fi | |
18 | fi | |
19 | ||
20 | echo | |
21 | ||
22 | if [ -x "$SERVER_BUG_SCRIPT" ]; then | |
23 | $SERVER_BUG_SCRIPT 3>&1 | |
24 | else | |
25 | echo "$SERVER_BUG_SCRIPT not available" | |
26 | fi |