From 8171130329124fb7e5a9798476687f2530be4ea1 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Tue, 13 Oct 2009 20:14:45 +0000 Subject: [PATCH] bug fix --- inxi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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