From d2411ce9730810f3a38e8dae7c5ae7ba0596c2f3 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Fri, 8 Oct 2010 05:37:08 +0000 Subject: [PATCH] bug fix in multiple gpu print out, bug fix in multiple audio card driver print out --- inxi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/inxi b/inxi index 295eedd..f555b20 100755 --- a/inxi +++ b/inxi @@ -1,8 +1,8 @@ #!/bin/bash ######################################################################## #### Script Name: inxi -#### version: 1.4.18 -#### Date: September 29 2010 +#### version: 1.4.19 +#### Date: October 7 2010 ######################################################################## #### SPECIAL THANKS ######################################################################## @@ -4353,7 +4353,7 @@ print_audio_data() fi # we're testing for the presence of the 2nd array item here, which is the driver name if [[ -n ${a_audio_working[1]} ]];then - alsa_driver="${C1}driver${C2} ${a_audio_working[1]}" + alsa_driver=" ${C1}driver${C2} ${a_audio_working[1]}" fi if [[ -n ${a_audio_working[2]} && $B_EXTRA_DATA == 'true' ]];then if [[ $( wc -w <<< ${a_audio_working[2]} ) -gt 1 ]];then @@ -4570,9 +4570,9 @@ print_gfx_data() if [[ ${#A_GFX_CARD_DATA[@]} -gt 1 ]];then i=1 - while [[ -n ${A_GFX_CARD_DATA[i]} && $i -le 3 ]] + while [[ -n ${A_GFX_CARD_DATA[i]} && $i -le 4 ]] do - gfx_data=" ${C1}Card-$(($i+1))${C2} ${A_GFX_CARD_DATA[i]}" + gfx_data="$gfx_data ${C1}Card-$(($i+1))${C2} ${A_GFX_CARD_DATA[i]}" ((i++)) done card_one='Card-1'