From 2b9a312eb3eb3c3bdbb24402641b919fffa8b711 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Mon, 23 May 2011 23:08:12 +0000 Subject: [PATCH] cleaned up printout consistency --- inxi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inxi b/inxi index 12c5e78..352368f 100755 --- a/inxi +++ b/inxi @@ -3203,7 +3203,7 @@ get_graphics_driver() xorg_log_data="$( cat $FILE_XORG_LOG )" for driver in $driver_list do - if [[ -n $( grep -s "[[:space:]]Loading.*${driver}_drv.so" <<< "$xorg_log_data" ) && -z $( grep -s "[[:space:]]Unloading.*${driver}_drv.so" <<< "$xorg_log_data" ) ]];then + if [[ -n $( grep -s "[[:space:]]Loading.*${driver}_drv.so" <<< "$xorg_log_data" ) && -z $( grep -s "[[:space:]]Unloading.*${driver}_drv.so" <<< "$xorg_log_data" ) ]];then driver_string="$driver_string$driver$spacer" spacer=' ' fi @@ -5418,7 +5418,7 @@ print_gfx_data() elif [[ $( wc -w <<< $x_driver ) -gt 1 ]];then x_driver_plural='s' fi - x_driver_string="${C1}driver$x_driver_plural:${C2} $x_driver " + x_driver_string="${C1}driver$x_driver_plural${C2} $x_driver " # some basic error handling: if [[ -z $screen_resolution ]];then