diff --git a/inxi b/inxi index 1b4853a..ba1f9bc 100755 --- a/inxi +++ b/inxi @@ -3097,7 +3097,7 @@ get_partition_data_advanced() get_repo_data() { 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' fi }