fix rank_mirrors

- for some reason with the other variation pacman-mirrors doesn't manage to display mirror selection list.
merge-requests/273/head
Bernhard Landauer 8 years ago
parent 0a72a3c780
commit 629688f293

@ -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.

Loading…
Cancel
Save