This commit is contained in:
inxi-svn 2008-12-13 20:38:12 +00:00
parent 39e7d24c01
commit 6b491f70c1

10
inxi
View file

@ -1,7 +1,7 @@
#!/bin/bash
########################################################################
#### Script Name: inxi
#### version: 0.8.5-b1-t7
#### version: 0.8.5-b1-t8
#### Date: December 12 2008
########################################################################
#### inxi is a fork of infobash 3.02, the original bash sys info script by locsmif
@ -421,16 +421,16 @@ check_script_depends()
if [[ ! -d /proc/ ]];then
error_handler 6
fi
if [[ $B_TESTING_1 == 'true' ]];then
# if [[ $B_TESTING_1 == 'true' ]];then
print_screen_output "B_X_RUNNING: $B_X_RUNNING"
fi
# fi
if [[ $B_X_RUNNING == 'true' ]];then
for app_name in xrandr xdpyinfo glxinfo
do
app_data=$( type -p $app_name )
if [[ $B_TESTING_1 == 'true' ]];then
# if [[ $B_TESTING_1 == 'true' ]];then
print_screen_output "gfx app tests: app_data:$app_data:"
fi
# fi
if [[ -z $app_data ]];then
script_debugger "Resuming in non X mode: $app_name not found in path"
B_X_RUNNING='false'