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 } } }