mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
test 7
This commit is contained in:
parent
8e586a8e3c
commit
b6b55beae7
16
inxi
16
inxi
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
########################################################################
|
########################################################################
|
||||||
#### Script Name: inxi
|
#### Script Name: inxi
|
||||||
#### version: 0.8.5-b1-t6
|
#### version: 0.8.5-b1-t7
|
||||||
#### Date: December 12 2008
|
#### Date: December 12 2008
|
||||||
########################################################################
|
########################################################################
|
||||||
#### inxi is a fork of infobash 3.02, the original bash sys info script by locsmif
|
#### inxi is a fork of infobash 3.02, the original bash sys info script by locsmif
|
||||||
|
@ -426,6 +426,9 @@ check_script_depends()
|
||||||
for app_name in xrandr xdpyinfo glxinfo
|
for app_name in xrandr xdpyinfo glxinfo
|
||||||
do
|
do
|
||||||
app_data=$( type -p $app_name )
|
app_data=$( type -p $app_name )
|
||||||
|
if [[ $B_TESTING_1 == 'true' ]];then
|
||||||
|
print_screen_output "gfx app tests: app_data:$app_data:"
|
||||||
|
fi
|
||||||
if [[ -z $app_data ]];then
|
if [[ -z $app_data ]];then
|
||||||
script_debugger "Resuming in non X mode: $app_name not found in path"
|
script_debugger "Resuming in non X mode: $app_name not found in path"
|
||||||
B_X_RUNNING='false'
|
B_X_RUNNING='false'
|
||||||
|
@ -2370,14 +2373,9 @@ print_gfx_data()
|
||||||
local b_is_mesa='false'
|
local b_is_mesa='false'
|
||||||
|
|
||||||
if [[ $B_TESTING_1 == 'true' ]];then
|
if [[ $B_TESTING_1 == 'true' ]];then
|
||||||
if [[ -n $DISPLAY ]];then
|
#print_screen_output "B_X_RUNNING: $B_X_RUNNING"
|
||||||
print_screen_output "Not null test for DISPLAY shows not null: $DISPLAY"
|
#print_screen_output "DEBUG: $DEBUG"
|
||||||
else
|
:
|
||||||
print_screen_output "DISPLAY: shows as fucking null even though as you see below it's not null!"
|
|
||||||
fi
|
|
||||||
print_screen_output "gfx app tests: $( for app_name in xrandr xdpyinfo glxinfo;do type -p $app_name;done )"
|
|
||||||
print_screen_output "B_X_RUNNING: $B_X_RUNNING"
|
|
||||||
print_screen_output "DEBUG: $DEBUG"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# set A_GFX_CARD_DATA
|
# set A_GFX_CARD_DATA
|
||||||
|
|
Loading…
Reference in a new issue