mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
trying a bug fix
This commit is contained in:
parent
d577e43c9c
commit
70be9f6eef
6
inxi
6
inxi
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
########################################################################
|
########################################################################
|
||||||
#### Script Name: inxi
|
#### Script Name: inxi
|
||||||
#### version: 1.5.991
|
#### version: 1.5.992
|
||||||
#### Date: June 7 2011
|
#### Date: June 7 2011
|
||||||
########################################################################
|
########################################################################
|
||||||
#### SPECIAL THANKS
|
#### SPECIAL THANKS
|
||||||
|
@ -5964,8 +5964,8 @@ print_machine_data()
|
||||||
if [[ ${#A_MACHINE_DATA[@]} -gt 0 ]];then
|
if [[ ${#A_MACHINE_DATA[@]} -gt 0 ]];then
|
||||||
# note: in some case a mobo/version will match a product name/version, do not print those
|
# 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)
|
# 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]}* ]] || \
|
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]} ]] || \
|
[[ -n ${A_MACHINE_DATA[1]} && -n ${A_MACHINE_DATA[6]} && *"${A_MACHINE_DATA[1]}"* == "${A_MACHINE_DATA[6]}" ]] || \
|
||||||
[[ -z ${A_MACHINE_DATA[0]} ]];then
|
[[ -z ${A_MACHINE_DATA[0]} ]];then
|
||||||
b_skip_system='true'
|
b_skip_system='true'
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue