brnach one, bug fix

This commit is contained in:
inxi-svn 2014-08-13 03:11:40 +00:00
parent 0f172aaf07
commit ffe7932b21

6
inxi
View file

@ -4889,7 +4889,7 @@ get_dmidecode_data()
{ {
eval $LOGFS eval $LOGFS
local dmiData="" local dmiData="$( cat ~/bin/scripts/inxi/data/dmidecode/dmidecode-memory-variants-1.txt )"
local dmidecodePath='' local dmidecodePath=''
if [[ $B_DMIDECODE_SET != 'true' ]];then if [[ $B_DMIDECODE_SET != 'true' ]];then
@ -11976,10 +11976,10 @@ print_ram_data()
device_type=${a_memory_item[6]} device_type=${a_memory_item[6]}
if [[ $B_EXTRA_EXTRA_EXTRA_DATA == 'true' && -n ${a_memory_item[7]} \ if [[ $B_EXTRA_EXTRA_EXTRA_DATA == 'true' && -n ${a_memory_item[7]} \
&& ${a_memory_item[7]} != 'Other' ]];then && ${a_memory_item[7]} != 'Other' ]];then
device_type="$device_type (${a_memory_item[7]}) " device_type="$device_type (${a_memory_item[7]})"
fi fi
else else
device_type='N/A ' device_type='N/A'
fi fi
device_type="${C1}type$SEP3${C2} $device_type " device_type="${C1}type$SEP3${C2} $device_type "
if [[ -n ${a_memory_item[8]} ]];then if [[ -n ${a_memory_item[8]} ]];then