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 --- diff --git a/NEWS b/NEWS index 63ceb76..31fa428 100644 --- a/NEWS +++ b/NEWS @@ -3,7 +3,7 @@ ProteanOS Development Kit version 2.0.0+dev Released: ????-??-?? -Bug fixes: +Bug fixes and minor changes: * An expansion of an undefined variable in a function called during "prokit build" has been fixed. @@ -11,6 +11,8 @@ Bug fixes: no longer prints a wrong and confusing "Clock incorrect" message after the "Invalid certificate" message when a mirror has an expired certificate. + * "prokit install" and "prokit installer-pc" in the ProteanOS profile + now support FTP mirrors. ProteanOS Development Kit version 2.0.0 --------------------------------------- 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