mirror of
https://github.com/smxi/inxi.git
synced 2025-01-19 08:57:57 +00:00
fixed a few more small glitches
This commit is contained in:
parent
b7cc482ea4
commit
45ab090d91
8
inxi
8
inxi
|
@ -9120,7 +9120,6 @@ print_audio_data()
|
||||||
bus_usb_text=''
|
bus_usb_text=''
|
||||||
bus_usb_id=''
|
bus_usb_id=''
|
||||||
print_data=''
|
print_data=''
|
||||||
card_id=''
|
|
||||||
chip_id=''
|
chip_id=''
|
||||||
|
|
||||||
if [[ ${#A_AUDIO_DATA[@]} -gt 1 ]];then
|
if [[ ${#A_AUDIO_DATA[@]} -gt 1 ]];then
|
||||||
|
@ -9554,11 +9553,9 @@ print_graphics_data()
|
||||||
chip_id=" ${C1}chip-ID$SEP3${C2} $chip_id"
|
chip_id=" ${C1}chip-ID$SEP3${C2} $chip_id"
|
||||||
fi
|
fi
|
||||||
if [[ ${#A_GRAPHICS_CARD_DATA[@]} -gt 1 ]];then
|
if [[ ${#A_GRAPHICS_CARD_DATA[@]} -gt 1 ]];then
|
||||||
card_id="Card-$(($i+1)):"
|
card_id="-$(($i+1))"
|
||||||
else
|
|
||||||
card_id='Card:'
|
|
||||||
fi
|
fi
|
||||||
graphics_data="${C1}$card_id${C2} $card_data$card_bus_id$chip_id "
|
graphics_data="${C1}Card$card_id$SEP3${C2} $card_data$card_bus_id$chip_id "
|
||||||
if [[ ${#A_GRAPHICS_CARD_DATA[@]} -gt 1 ]];then
|
if [[ ${#A_GRAPHICS_CARD_DATA[@]} -gt 1 ]];then
|
||||||
graphics_data=$( create_print_line "$line_starter" "$graphics_data${CN}" )
|
graphics_data=$( create_print_line "$line_starter" "$graphics_data${CN}" )
|
||||||
print_screen_output "$graphics_data"
|
print_screen_output "$graphics_data"
|
||||||
|
@ -10117,7 +10114,6 @@ print_networking_data()
|
||||||
pci_bus_id=''
|
pci_bus_id=''
|
||||||
port_data=''
|
port_data=''
|
||||||
port_plural=''
|
port_plural=''
|
||||||
card_id=''
|
|
||||||
chip_id=''
|
chip_id=''
|
||||||
|
|
||||||
if [[ ${#A_NETWORK_DATA[@]} -gt 1 ]];then
|
if [[ ${#A_NETWORK_DATA[@]} -gt 1 ]];then
|
||||||
|
|
Loading…
Reference in a new issue