moved man pages to trunk, easier that way

This commit is contained in:
inxi-svn 2012-05-16 01:30:00 +00:00
parent 4bdb6b0621
commit 911fe425dc
2 changed files with 6 additions and 9 deletions

15
inxi
View file

@ -1,8 +1,8 @@
#!/bin/bash #!/bin/bash
######################################################################## ########################################################################
#### Script Name: inxi #### Script Name: inxi
#### version: 1.8.3 #### version: 1.8.4
#### Date: May 14 2012 #### Date: May 15 2012
#### Patch Number: 00 #### Patch Number: 00
######################################################################## ########################################################################
#### SPECIAL THANKS #### SPECIAL THANKS
@ -6115,9 +6115,6 @@ get_sensors_data()
} }
}' <<< "$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 fi
IFS="$ORIGINAL_IFS" IFS="$ORIGINAL_IFS"
@ -8151,10 +8148,10 @@ print_sensors_data()
a_sensors_working=( ${A_SENSORS_DATA[0]} ) a_sensors_working=( ${A_SENSORS_DATA[0]} )
IFS="$ORIGINAL_IFS" IFS="$ORIGINAL_IFS"
# initial error cases, for missing app or unconfigured sensors. Note that array 0 # 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 # always has at least 3 items, cpu/mobo/psu temp in it. If the count is 0, then
# it's an error message, not the real data arrays. # no sensors are installed/configured
if [[ ${#a_sensors_working[@]} -eq 1 ]];then if [[ ${#a_sensors_working[@]} -eq 0 ]];then
cpu_temp="${C1}Error:${C2} ${A_SENSORS_DATA[0]}" cpu_temp="None detected - is lm-sensors installed and configured?"
b_is_error='true' b_is_error='true'
else else
for (( i=0; i < ${#A_SENSORS_DATA[@]}; i++ )) for (( i=0; i < ${#A_SENSORS_DATA[@]}; i++ ))

View file