fix rank_mirrors

- for some reason with the other variation pacman-mirrors doesn't manage to display mirror selection list.
This commit is contained in:
Bernhard Landauer 2017-03-03 01:12:01 +01:00
parent 0a72a3c780
commit 629688f293

View File

@ -340,10 +340,10 @@ rank_mirrors() {
"testing" "-" off \
"unstable" "-" off 2>${BRANCH}
clear
[[ ! -z "$(cat ${BRANCH})" ]] && {
if [[ ! -z "$(cat ${BRANCH})" ]]; then
pacman-mirrors -gib "$(cat ${BRANCH})" 2>$ERR
check_for_error "$FUNCNAME branch $(cat ${BRANCH})" $?
}
fi
}
# Simple code to show devices / partitions.