From 4186f826940e9cb78d41d086dbd9ccef9f02bee5 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Fri, 26 Sep 2014 05:24:08 +0000 Subject: [PATCH] small cleanup in output --- inxi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/inxi b/inxi index 90a5bf7..79c621e 100755 --- a/inxi +++ b/inxi @@ -9338,10 +9338,10 @@ get_repo_data() if [[ -n $1 ]];then cat $repo_file &> $1/repo-data_${repo_file//\//-}.txt fi - repo_data_working="$( gawk -v repoFile=$repo_file ' + repo_data_working="$( gawk -v repoFile="$repo_file" ' # construct the string for the print function to work with, file name: data function print_line( fileName, repoId, repoUrl ){ - print "'$repo_name' sources^" fileName "^" repoId repoUrl + print "'$repo_name' sources^" fileName "^" repoId repoUrl } BEGIN { FS="\n" @@ -9489,7 +9489,7 @@ $repo_data_working" if ( activeRepos != "" ) { gsub(/MIRRORPLUS\['\''|'\''\]/,"",$1) if ( match( activeRepos, $1 ) ){ - print "slackpkg+ sources^" repoFile "^" $1 " " $2 + print "slackpkg+ sources^" repoFile "^" $1 " ~ " $2 } } }' $slackpkg_plus_file )" @@ -9669,7 +9669,7 @@ $repo_data_working" } if ( $1 == "enabled" ) { if ( $2 == "yes" ) { - print "BSD pkg server^" repoFile "^" repoName " " repoUrl + print "BSD pkg server^" repoFile "^" repoName " ~ " repoUrl } } }