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
bf9cf87ffb
commit
c843356ca7
2
inxi
2
inxi
|
@ -3097,7 +3097,7 @@ get_partition_data_advanced()
|
||||||
get_repo_data()
|
get_repo_data()
|
||||||
{
|
{
|
||||||
if [[ -f /etc/apt/sources.list ]];then
|
if [[ -f /etc/apt/sources.list ]];then
|
||||||
REPO_DATA="$( grep -Esv '(^$|^[[:space:]]*#)' /etc/apt/sources.list /etc/apt/sources.list.d/*.list )"
|
REPO_DATA="$( grep -Esv '(^[[:space:]]*$|^[[:space:]]*#)' /etc/apt/sources.list /etc/apt/sources.list.d/*.list )"
|
||||||
REPO_FILE_ID='apt sources'
|
REPO_FILE_ID='apt sources'
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue