From 0a7cdb5ab79695c4678a7bc773535da85195eaa5 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Mon, 1 Feb 2010 06:21:46 +0000 Subject: [PATCH] code cleanup --- inxi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inxi b/inxi index ab2d0cf..02f1bdf 100755 --- a/inxi +++ b/inxi @@ -3264,7 +3264,7 @@ $repo_data_working" elif [[ -f $pacman_conf ]];then REPO_FILE_ID='arch repo servers' # get list of mirror include files, trim white space off ends - repo_data_working="$( grep -Ei '^Include' $pacman_conf | grep -vi 'IncludePath' | cut -d '=' -f 2 | sed 's|^[[:space:]]$||g' )" + repo_data_working="$( grep -i '^Include' $pacman_conf | grep -vi 'IncludePath' | cut -d '=' -f 2 | sed 's|^[[:space:]]$||g' )" repo_data_working=$( sort -bu <<< "$repo_data_working" | uniq ) repo_data_working="$repo_data_working $pacman_conf" for repo_file in $repo_data_working