From 1f41cd69eaf96e62b7381479a08b719a7824a7b2 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 05 Aug 2019 18:40:01 -0400 Subject: profile/proteanos: Support FTP mirrors --- (limited to 'src') 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)) -- cgit v0.9.1