summaryrefslogtreecommitdiffstats
path: root/src/profile
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-08-05 18:40:01 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-08-05 18:40:01 (EDT)
commit1f41cd69eaf96e62b7381479a08b719a7824a7b2 (patch)
treeec7c9b895ff39e623621041e3439bf37da7649be /src/profile
parentce03e9d2c8ce3b208f604a92950317bca4fad7d5 (diff)
profile/proteanos: Support FTP mirrors
Diffstat (limited to 'src/profile')
-rw-r--r--src/profile/proteanos.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/profile/proteanos.sh b/src/profile/proteanos.sh
index 5f1e598..78dadad 100644
--- a/src/profile/proteanos.sh
+++ b/src/profile/proteanos.sh
@@ -98,7 +98,9 @@ prof_proteanos_select_mirror()
local mirror_num=
mirrors="$(${WGET} -q -O - -- \
- 'http://files.proteanos.com/pub/proteanos-mirrors-http')"
+ 'http://files.proteanos.com/pub/proteanos-mirrors-http'
+ 'ftp://files.proteanos.com/pub/proteanos-mirrors-ftp'
+ )"
mirrors_count=$(printf '%s\n' "${mirrors}" | wc -l)
rand
mirror_num=$((${rand_x} % ${mirrors_count} + 1))