branch three, cleanup of output

This commit is contained in:
inxi-svn 2014-08-12 05:13:23 +00:00
parent 973cbadcac
commit 1de90298a6

4
inxi
View file

@ -3,7 +3,7 @@
#### Script Name: inxi #### Script Name: inxi
#### Version: 2.1.90 #### Version: 2.1.90
#### Date: 2014-08-11 #### Date: 2014-08-11
#### Patch Number: 06-b3 #### Patch Number: 07-b3
######################################################################## ########################################################################
#### SPECIAL THANKS #### SPECIAL THANKS
######################################################################## ########################################################################
@ -11909,6 +11909,7 @@ print_ram_data()
if [[ -n ${a_memory_item[3]} ]];then if [[ -n ${a_memory_item[3]} ]];then
if [[ -z ${a_memory_item[3]/BANK*/} ]];then if [[ -z ${a_memory_item[3]/BANK*/} ]];then
bank=${a_memory_item[3]#BANK} bank=${a_memory_item[3]#BANK}
bank=${bank## }
else else
bank=${a_memory_item[3]} bank=${a_memory_item[3]}
fi fi
@ -11918,6 +11919,7 @@ print_ram_data()
if [[ -n ${a_memory_item[4]} ]];then if [[ -n ${a_memory_item[4]} ]];then
if [[ -z ${a_memory_item[4]/DIMM*/} ]];then if [[ -z ${a_memory_item[4]/DIMM*/} ]];then
slot=${a_memory_item[4]#DIMM} slot=${a_memory_item[4]#DIMM}
slot=${slot## }
else else
slot=${a_memory_item[4]} slot=${a_memory_item[4]}
fi fi