summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS4
-rw-r--r--src/profile/proteanos.sh4
2 files changed, 6 insertions, 2 deletions
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))