diff options
author | Patrick 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) |
commit | 1f41cd69eaf96e62b7381479a08b719a7824a7b2 (patch) | |
tree | ec7c9b895ff39e623621041e3439bf37da7649be | |
parent | ce03e9d2c8ce3b208f604a92950317bca4fad7d5 (diff) |
profile/proteanos: Support FTP mirrors
-rw-r--r-- | NEWS | 4 | ||||
-rw-r--r-- | src/profile/proteanos.sh | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -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)) |