(change version, by the way)

cleaned up wording for arch repos
This commit is contained in:
inxi-svn 2010-02-01 05:52:46 +00:00
parent 5264341430
commit c364b89f48

2
inxi
View file

@ -3260,7 +3260,7 @@ $repo_data_working"
# note that pacman/arch mirrorlist file has all the mirrors on it, so it # note that pacman/arch mirrorlist file has all the mirrors on it, so it
# won't work for this feature, the output would be largely meaningless, and far too long # won't work for this feature, the output would be largely meaningless, and far too long
elif [[ -f $pacman_conf ]];then elif [[ -f $pacman_conf ]];then
REPO_FILE_ID='arch repos' REPO_FILE_ID='arch repo servers'
# get list of mirror include files, trim white space off ends # 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 -Ei '^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=$( sort -bu <<< "$repo_data_working" | uniq )