This commit is contained in:
inxi-svn 2009-10-13 03:05:13 +00:00
parent bf9cf87ffb
commit c843356ca7

2
inxi
View file

@ -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
} }