mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
bug fix in multiple gpu print out, bug fix in multiple audio card driver print out
This commit is contained in:
parent
15430ba3ab
commit
d2411ce973
8
inxi
8
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
|
||||
########################################################################
|
||||
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue