From 7da751751422525806e9499c84b9a4a5c21c0ad6 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Wed, 8 Jun 2011 04:54:11 +0000 Subject: [PATCH] removing that attempt, too hard that way --- inxi | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/inxi b/inxi index 172f804..5c283e3 100755 --- a/inxi +++ b/inxi @@ -5964,9 +5964,8 @@ print_machine_data() if [[ ${#A_MACHINE_DATA[@]} -gt 0 ]];then # note: in some case a mobo/version will match a product name/version, do not print those # some special cases, with: System MSI product MS-7680/Mobo MSI model H61M-P23 (MS-7680) - if [[ -n ${A_MACHINE_DATA[1]} && -n ${A_MACHINE_DATA[6]} && "${A_MACHINE_DATA[1]}" == *"${A_MACHINE_DATA[6]}"* ]] || \ - [[ -n ${A_MACHINE_DATA[1]} && -n ${A_MACHINE_DATA[6]} && *"${A_MACHINE_DATA[1]}"* == "${A_MACHINE_DATA[6]}" ]] || \ - [[ -z ${A_MACHINE_DATA[0]} ]];then + if [[ -n ${A_MACHINE_DATA[1]} && -n ${A_MACHINE_DATA[6]} && ${A_MACHINE_DATA[1]} == ${A_MACHINE_DATA[6]} ]] || \ + [[ -z ${A_MACHINE_DATA[0]} ]];then b_skip_system='true' fi # no point in showing chassis if system isn't there, it's very unlikely that would be correct