mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
add https support for mirrorlist
This commit is contained in:
parent
d1e2af6ff1
commit
5b69be23a4
1 changed files with 1 additions and 1 deletions
|
@ -2849,7 +2849,7 @@ getsource() {
|
|||
select_mirror() {
|
||||
DIALOG --msgbox "Keep in mind ftp.archlinux.org is throttled.\nPlease select another mirror to get full download speed." 8 65
|
||||
# FIXME: this regex doesn't honor commenting
|
||||
MIRRORS=$(egrep -o '((ftp)|(http))://[^/]*' "${MIRRORLIST}" | sed 's|$| _|g')
|
||||
MIRRORS=$(egrep -o '((ftp)|(http)|(https))://[^/]*' "${MIRRORLIST}" | sed 's|$| _|g')
|
||||
DIALOG --menu "Select an FTP/HTTP mirror" 14 55 7 \
|
||||
${MIRRORS} \
|
||||
"Custom" "_" 2>${ANSWER} || return 1
|
||||
|
|
Loading…
Reference in a new issue