diff --git a/inxi b/inxi index e4616b8..3653d9f 100755 --- a/inxi +++ b/inxi @@ -1,8 +1,8 @@ #!/bin/bash ######################################################################## #### Script Name: inxi -#### version: 1.8.3 -#### Date: May 14 2012 +#### version: 1.8.4 +#### Date: May 15 2012 #### Patch Number: 00 ######################################################################## #### SPECIAL THANKS @@ -6115,9 +6115,6 @@ get_sensors_data() } }' <<< "$Sensors_Data" ) ) - # the error case needs to go here because we are setting special array delimiter ',' - else - A_SENSORS_DATA=( "You do not have the sensors app installed." ) fi IFS="$ORIGINAL_IFS" @@ -8151,10 +8148,10 @@ print_sensors_data() a_sensors_working=( ${A_SENSORS_DATA[0]} ) IFS="$ORIGINAL_IFS" # initial error cases, for missing app or unconfigured sensors. Note that array 0 - # always has at least 3 items, cpu/mobo/psu temp in it. If it's a single item, then - # it's an error message, not the real data arrays. - if [[ ${#a_sensors_working[@]} -eq 1 ]];then - cpu_temp="${C1}Error:${C2} ${A_SENSORS_DATA[0]}" + # always has at least 3 items, cpu/mobo/psu temp in it. If the count is 0, then + # no sensors are installed/configured + if [[ ${#a_sensors_working[@]} -eq 0 ]];then + cpu_temp="None detected - is lm-sensors installed and configured?" b_is_error='true' else for (( i=0; i < ${#A_SENSORS_DATA[@]}; i++ )) diff --git a/man/inxi.8 b/inxi.8 similarity index 100% rename from man/inxi.8 rename to inxi.8