diff --git a/inxi b/inxi index 7989d77..b9be81d 100755 --- a/inxi +++ b/inxi @@ -1455,7 +1455,10 @@ log_function_data() ;; cat) if [[ $B_LOG_FULL_DATA == 'true' ]];then - logged_data="\n$line\nFull file data: cat $2\n\n$( cat $2 )\n$line\n" + for cat_file in $2 + do + logged_data="$logged_data\n$line\nFull file data: cat $cat_file\n\n$( cat $cat_file )\n$line\n" + done spacer='' fi ;; @@ -9399,6 +9402,7 @@ $repo_data_working" REPO_DATA="$( grep -Esv '(^[[:space:]]*$|^[[:space:]]*#)' $slackpkg_file | sed $SED_RX 's/^(.*)/slackpkg sources:\1/' )" elif [[ -d $pisi_dir && -n $( type -p pisi ) ]];then REPO_DATA="$( pisi list-repo )" + log_function_data "pisi-list-repo: $REPO_DATA" # now we need to create the structure: repo info: repo path # we do that by looping through the lines of the output and then # putting it back into the : format print repos expects to see @@ -9429,6 +9433,7 @@ $repo_data_working" # Mandriva/Mageia using: urpmq elif type -p urpmq &>/dev/null;then REPO_DATA="$( urpmq --list-media active --list-url )" + log_function_data "urpmq: $REPO_DATA" # now we need to create the structure: repo info: repo path # we do that by looping through the lines of the output and then # putting it back into the : format print repos expects to see @@ -9474,6 +9479,7 @@ $repo_data_working" fi if [[ -d $ports_dir ]];then repo_files=$(ls ${ports_dir}*.conf 2>/dev/null ) + log_function_data 'cat' "$repo_files" for repo_file in $repo_files do repo_data_working="$repo_data_working$( gawk -v repoFile=$repo_file '