setup-apkrepos: two-digit selection fails
Try to enter double digit mirror number:
Enter mirror number (1-48) or URL to add (or r/f/e/done) [1]: 12
Added mirror dl-cdn.alpinelinux.org
Updating repository indexes... ERROR: http://dl-cdn.alpinelinux.org/alpine/2/edge/main: No such file or directory
I think add_from_list should be:
set $MIRRORS
- eval "mirror=\$$mirror_index"
+ eval "mirror=\${$mirror_index}"
add_mirror "$mirror"