mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
test 8
This commit is contained in:
parent
39e7d24c01
commit
6b491f70c1
10
inxi
10
inxi
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
########################################################################
|
########################################################################
|
||||||
#### Script Name: inxi
|
#### Script Name: inxi
|
||||||
#### version: 0.8.5-b1-t7
|
#### version: 0.8.5-b1-t8
|
||||||
#### 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
|
||||||
|
@ -421,16 +421,16 @@ check_script_depends()
|
||||||
if [[ ! -d /proc/ ]];then
|
if [[ ! -d /proc/ ]];then
|
||||||
error_handler 6
|
error_handler 6
|
||||||
fi
|
fi
|
||||||
if [[ $B_TESTING_1 == 'true' ]];then
|
# if [[ $B_TESTING_1 == 'true' ]];then
|
||||||
print_screen_output "B_X_RUNNING: $B_X_RUNNING"
|
print_screen_output "B_X_RUNNING: $B_X_RUNNING"
|
||||||
fi
|
# fi
|
||||||
if [[ $B_X_RUNNING == 'true' ]];then
|
if [[ $B_X_RUNNING == 'true' ]];then
|
||||||
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
|
# if [[ $B_TESTING_1 == 'true' ]];then
|
||||||
print_screen_output "gfx app tests: app_data:$app_data:"
|
print_screen_output "gfx app tests: app_data:$app_data:"
|
||||||
fi
|
# 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'
|
||||||
|
|
Loading…
Reference in a new issue