From a822a8b22ad129cd7e30f644ec6af3654eced590 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Wed, 6 Jul 2011 01:22:11 +0000 Subject: [PATCH] adjustment --- inxi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/inxi b/inxi index 3de0d86..dd9d47a 100755 --- a/inxi +++ b/inxi @@ -3,7 +3,7 @@ #### Script Name: inxi #### version: 1.7.13 #### Date: July 5 2011 -#### Patch Number: 04 +#### Patch Number: 05 ######################################################################## #### SPECIAL THANKS ######################################################################## @@ -6621,13 +6621,15 @@ print_info_data() local processes="$(( $( ps aux | wc -l ) - 1 ))" local up_time="$( get_uptime )" 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 get_gcc_system_version if [[ ${#A_GCC_VERSIONS[@]} -gt 0 ]];then if [[ -n ${A_GCC_VERSIONS[0]} ]];then gcc_installed=${A_GCC_VERSIONS[0]} + else + gcc_installed='N/A' fi if [[ $B_EXTRA_EXTRA_DATA == 'true' && -n ${A_GCC_VERSIONS[1]} ]];then gcc_others=" ${C1}alt:${C2} $( tr ',' ' ' <<< ${A_GCC_VERSIONS[1]} )"