mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
adjustment
This commit is contained in:
parent
6a6f3f770e
commit
a822a8b22a
6
inxi
6
inxi
|
@ -3,7 +3,7 @@
|
||||||
#### Script Name: inxi
|
#### Script Name: inxi
|
||||||
#### version: 1.7.13
|
#### version: 1.7.13
|
||||||
#### Date: July 5 2011
|
#### Date: July 5 2011
|
||||||
#### Patch Number: 04
|
#### Patch Number: 05
|
||||||
########################################################################
|
########################################################################
|
||||||
#### SPECIAL THANKS
|
#### SPECIAL THANKS
|
||||||
########################################################################
|
########################################################################
|
||||||
|
@ -6621,13 +6621,15 @@ print_info_data()
|
||||||
local processes="$(( $( ps aux | wc -l ) - 1 ))"
|
local processes="$(( $( ps aux | wc -l ) - 1 ))"
|
||||||
local up_time="$( get_uptime )"
|
local up_time="$( get_uptime )"
|
||||||
local script_patch_number=$( get_patch_version_string )
|
local script_patch_number=$( get_patch_version_string )
|
||||||
local gcc_string='' gcc_installed='N/A' gcc_others='' closing_data=''
|
local gcc_string='' gcc_installed='' gcc_others='' closing_data=''
|
||||||
|
|
||||||
if [[ $B_EXTRA_DATA == 'true' ]];then
|
if [[ $B_EXTRA_DATA == 'true' ]];then
|
||||||
get_gcc_system_version
|
get_gcc_system_version
|
||||||
if [[ ${#A_GCC_VERSIONS[@]} -gt 0 ]];then
|
if [[ ${#A_GCC_VERSIONS[@]} -gt 0 ]];then
|
||||||
if [[ -n ${A_GCC_VERSIONS[0]} ]];then
|
if [[ -n ${A_GCC_VERSIONS[0]} ]];then
|
||||||
gcc_installed=${A_GCC_VERSIONS[0]}
|
gcc_installed=${A_GCC_VERSIONS[0]}
|
||||||
|
else
|
||||||
|
gcc_installed='N/A'
|
||||||
fi
|
fi
|
||||||
if [[ $B_EXTRA_EXTRA_DATA == 'true' && -n ${A_GCC_VERSIONS[1]} ]];then
|
if [[ $B_EXTRA_EXTRA_DATA == 'true' && -n ${A_GCC_VERSIONS[1]} ]];then
|
||||||
gcc_others=" ${C1}alt:${C2} $( tr ',' ' ' <<< ${A_GCC_VERSIONS[1]} )"
|
gcc_others=" ${C1}alt:${C2} $( tr ',' ' ' <<< ${A_GCC_VERSIONS[1]} )"
|
||||||
|
|
Loading…
Reference in a new issue