mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
maybe bug fix for gigabyte board
This commit is contained in:
parent
8232c927ad
commit
b3ff07bbb2
8
inxi
8
inxi
|
@ -5973,9 +5973,11 @@ print_machine_data()
|
|||
# ibm / ibm can be true; dell / quantum is false, so in other words, only do this
|
||||
# in case where the vendor is the same and the version is the same and not null,
|
||||
# otherwise the version information is going to be different in all cases I think
|
||||
elif [[ ${A_MACHINE_DATA[0]} == ${A_MACHINE_DATA[5]} && \
|
||||
-n ${A_MACHINE_DATA[2]} && ${A_MACHINE_DATA[2]} == ${A_MACHINE_DATA[7]} ]];then
|
||||
b_skip_system='true'
|
||||
elif [[ ${A_MACHINE_DATA[0]} == ${A_MACHINE_DATA[5]} ]];then
|
||||
if [[ -n ${A_MACHINE_DATA[2]} && ${A_MACHINE_DATA[2]} == ${A_MACHINE_DATA[7]} ]] || \
|
||||
[[ -z ${A_MACHINE_DATA[2]} && ${A_MACHINE_DATA[1]} == ${A_MACHINE_DATA[6]} ]];then
|
||||
b_skip_system='true'
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
# no point in showing chassis if system isn't there, it's very unlikely that would be correct
|
||||
|
|
Loading…
Reference in a new issue