Tweaked the size of the select_repository() widget

This allows all current repos + 1 to fit without scrolling - eventually, the
repo list will outgrow the displayable area, but we might as well save
scrolling while we can.
This commit is contained in:
slakmagik 2010-05-27 15:55:42 +00:00
parent e445401c90
commit 90d57940b8

View File

@ -1029,7 +1029,7 @@ select_repository() {
--menu '"$(crunch "You are currently using sbopkg to browse a \
local copy of the $REPO_DESC. If you would \
like to change it, please select another repository below or \
press <Back> to go back.")"' 17 60 7 \
press <Back> to go back.")"' 19 60 9 \
$(
for ((i=0; i<${#REPOSITORIES[@]}; i+=$REPOS_FIELDS)); do
echo \"${REPOSITORIES[$((i+1))]} \(${REPOSITORIES[$i]}\)\"