diff --git a/inxi b/inxi index 5222d3d..9ebd941 100755 --- a/inxi +++ b/inxi @@ -3103,7 +3103,7 @@ get_repo_data() REPO_DATA="$( grep -Esv '(^[[:space:]]*$|^[[:space:]]*#)' $apt_file $apt_file.d/*.list )" REPO_FILE_ID='apt sources' elif [[ -d $yum_repo_dir ]];then - for repo_file in $( ls $yum_repo_dir ) + for repo_file in $( ls $yum_repo_dir*.repo ) do repo_data_working="$( gawk -v repoFile=$repo_file ' BEGIN { @@ -3140,7 +3140,7 @@ get_repo_data() repoTitle="" } } - ' $yum_repo_dir$repo_file )" + ' $repo_file )" # then load the global for each file as it gets filled if [[ -n $repo_data_working ]];then