mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
removed unneeded logic
This commit is contained in:
parent
55a281a794
commit
98249b201c
2
inxi
2
inxi
|
@ -5966,7 +5966,7 @@ print_machine_data()
|
||||||
|
|
||||||
if [[ -z ${A_MACHINE_DATA[0]} ]];then
|
if [[ -z ${A_MACHINE_DATA[0]} ]];then
|
||||||
b_skip_system='true'
|
b_skip_system='true'
|
||||||
elif [[ -n ${A_MACHINE_DATA[0]} && ${A_MACHINE_DATA[0]} == ${A_MACHINE_DATA[5]} && \
|
elif [[ ${A_MACHINE_DATA[0]} == ${A_MACHINE_DATA[5]} && \
|
||||||
-n ${A_MACHINE_DATA[1]} && -n ${A_MACHINE_DATA[6]} ]];then
|
-n ${A_MACHINE_DATA[1]} && -n ${A_MACHINE_DATA[6]} ]];then
|
||||||
# some special cases, with: System MSI product MS-7680/Mobo MSI model H61M-P23 (MS-7680)
|
# some special cases, with: System MSI product MS-7680/Mobo MSI model H61M-P23 (MS-7680)
|
||||||
# do not match, but I think the data is worth keeping since the first string might be the
|
# do not match, but I think the data is worth keeping since the first string might be the
|
||||||
|
|
Loading…
Reference in a new issue