mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
bug fix
This commit is contained in:
parent
96863ec661
commit
8171130329
4
inxi
4
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
|
||||
|
|
Loading…
Reference in a new issue