removed unneeded logic

This commit is contained in:
inxi-svn 2011-06-08 05:37:45 +00:00
parent 55a281a794
commit 98249b201c

2
inxi
View file

@ -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