From b6b55beae79f915f8103166acf65f9480e283916 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Sat, 13 Dec 2008 20:30:51 +0000 Subject: [PATCH] test 7 --- inxi | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/inxi b/inxi index f160198..22baed0 100755 --- a/inxi +++ b/inxi @@ -1,7 +1,7 @@ #!/bin/bash ######################################################################## #### Script Name: inxi -#### version: 0.8.5-b1-t6 +#### version: 0.8.5-b1-t7 #### Date: December 12 2008 ######################################################################## #### 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 do 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 script_debugger "Resuming in non X mode: $app_name not found in path" B_X_RUNNING='false' @@ -2370,14 +2373,9 @@ print_gfx_data() local b_is_mesa='false' if [[ $B_TESTING_1 == 'true' ]];then - if [[ -n $DISPLAY ]];then - print_screen_output "Not null test for DISPLAY shows not null: $DISPLAY" - 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" + #print_screen_output "B_X_RUNNING: $B_X_RUNNING" + #print_screen_output "DEBUG: $DEBUG" + : fi # set A_GFX_CARD_DATA