From 77084b0e63913835fa7fecdd31e3af4bca869c07 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Wed, 6 Jul 2011 00:47:33 +0000 Subject: [PATCH] moved client to second line if needed --- inxi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/inxi b/inxi index c69805f..d857b06 100755 --- a/inxi +++ b/inxi @@ -3,7 +3,7 @@ #### Script Name: inxi #### version: 1.7.13 #### Date: July 5 2011 -#### Patch Number: 02 +#### Patch Number: 03 ######################################################################## #### SPECIAL THANKS ######################################################################## @@ -6616,7 +6616,7 @@ print_info_data() eval $LOGFS local info_data='' line_starter='Info:' - local runlvl='' + local runlvl='' client_data='' local memory="$( get_memory_data )" local processes="$(( $( ps aux | wc -l ) - 1 ))" local up_time="$( get_uptime )" @@ -6648,9 +6648,9 @@ print_info_data() fi fi if [[ $SHOW_IRC -gt 0 ]];then - info_data="${info_data} ${C1}Client${C2} ${IRC_CLIENT}${IRC_CLIENT_VERSION}${CN}" + client_data="${C1}Client${C2} ${IRC_CLIENT}${IRC_CLIENT_VERSION} " fi - closing_data="$gcc_installed${C1}$SCRIPT_NAME${C2} $SCRIPT_VERSION_NUMBER$script_patch_number${CN}" + closing_data="$client_data$gcc_installed${C1}$SCRIPT_NAME${C2} $SCRIPT_VERSION_NUMBER$script_patch_number${CN}" if [[ -n $info_data && $( calculate_line_length "$info_data $closing_data" ) -gt $LINE_MAX ]];then info_data=$( create_print_line "$line_starter" "$info_data" ) print_screen_output "$info_data"