Made (usb) to USB to make more readable

This commit is contained in:
inxi-svn 2008-11-09 20:28:26 +00:00
parent 7221c789fa
commit 2b7a30b82b

6
inxi
View file

@ -1,7 +1,7 @@
#!/bin/bash
########################################################################
#### Script Name: inxi
#### version: 0.4.22
#### version: 0.4.23
#### Date: November 8 2008
########################################################################
#### inxi is a fork of infobash, the original bash sys info script by locsmif
@ -1301,7 +1301,7 @@ get_hard_drive_data_advanced()
if [[ -n $sd_ls_by_id ]];then
a_temp_working[2]=${a_temp_scsi[$j]}
if [[ -n $( grep 'usb-' <<< $sd_ls_by_id ) ]];then
a_temp_working[3]='usb'
a_temp_working[3]='USB'
fi
break
else
@ -1719,7 +1719,7 @@ print_hard_disk_data()
IFS="$ORIGINAL_IFS"
if [[ $B_SHOW_FULL_HDD == 'true' ]];then
if [[ -n ${a_hdd_working[3]} ]];then
usb_data="(${a_hdd_working[3]}) "
usb_data="${a_hdd_working[3]} "
else
usb_data=''
fi