diff --git a/inxi b/inxi index d13ad85..1b4853a 100755 --- a/inxi +++ b/inxi @@ -1,7 +1,7 @@ #!/bin/bash ######################################################################## #### Script Name: inxi -#### version: 1.2.1 +#### version: 1.2.2 #### Date: October 12 2009 ######################################################################## #### SPECIAL THANKS @@ -4302,8 +4302,14 @@ print_repo_data() (( repo_count++ )) file_name=$( cut -d ':' -f 1 <<< $repo_line ) file_content=$( cut -d ':' -f 2-6 <<< $repo_line ) - # this will dump unwanted white space line starters - file_content=$( echo $file_content ) + # this will dump unwanted white space line starters. Some irc channels + # use bots that show page title for urls, so need to break the url by adding + # a white space. + if [[ $B_RUNNING_IN_SHELL != 'true' ]];then + file_content=$( echo $file_content | sed 's|://|: //|' ) + else + file_content=$( echo $file_content ) + fi # check file name, if different, update the holder for print out if [[ $file_name != $file_name_holder ]];then repo_full="${C1}Contents of $REPO_FILE_ID file:${C2} $file_name"