From c843356ca7f235487a52acbe882762531740f61b Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Tue, 13 Oct 2009 03:05:13 +0000 Subject: [PATCH] bug fix --- inxi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }