New tarball. Tiny fix for an obscure fringe case, leaving numbering as is.

In some cases, dmidecode returns the grammatically wrong message: 
'No smbios nor dmi data' instead of 'No smbios or dmi data', corrected the search
to look for simpler: 'no smbios ' to avoid that random error.
This commit is contained in:
inxi-svn 2013-02-12 17:57:17 +00:00
parent ba17e082c9
commit a08712ce7d
2 changed files with 17 additions and 1 deletions

2
inxi
View file

@ -5202,7 +5202,7 @@ get_machine_data()
if [[ -n $DMIDECODE_DATA ]];then if [[ -n $DMIDECODE_DATA ]];then
if [[ $B_ROOT == 'true' ]];then if [[ $B_ROOT == 'true' ]];then
# this handles very old systems, like Lenny 2.6.26, with dmidecode, but no data # this handles very old systems, like Lenny 2.6.26, with dmidecode, but no data
if [[ -n $( grep -i 'no smbios or dmi' <<< "$DMIDECODE_DATA" ) ]];then if [[ -n $( grep -i 'no smbios ' <<< "$DMIDECODE_DATA" ) ]];then
array_string='dmidecode-no-smbios-dmi-data' array_string='dmidecode-no-smbios-dmi-data'
# please note: only dmidecode version 2.11 or newer supports consistently the -s flag # please note: only dmidecode version 2.11 or newer supports consistently the -s flag
else else

View file

@ -1,3 +1,19 @@
=====================================================================================
Version: 1.8.37
Patch Version: 00
Script Date: February 11 2013
-----------------------------------
Changes:
-----------------------------------
New tarball. Tiny fix for an obscure fringe case, leaving numbering as is.
In some cases, dmidecode returns the grammatically wrong message:
'No smbios nor dmi data' instead of 'No smbios or dmi data', corrected the search
to look for simpler: 'no smbios ' to avoid that random error.
-----------------------------------
-- Harald Hope - Tue, 12 Feb 2013 09:54:51 -0800
===================================================================================== =====================================================================================
Version: 1.8.37 Version: 1.8.37
Patch Version: 00 Patch Version: 00