summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-12-06 17:26:27 (EST)
committer P. J. McDermott <pj@pehjota.net>2014-12-06 17:26:27 (EST)
commit942427bd7c3a742102ac29dd3092e3490e232435 (patch)
treefd9cd475994390ec4ab472b32edabe00147f1938
parent49c9545d3656d59d69d34c96c8ef7689169bd83e (diff)
bootstrap-prepare.sh: Update mirror list
-rwxr-xr-xbootstrap-prepare.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/bootstrap-prepare.sh b/bootstrap-prepare.sh
index 7d94410..12fa6c4 100755
--- a/bootstrap-prepare.sh
+++ b/bootstrap-prepare.sh
@@ -158,12 +158,15 @@ prepare_packages()
mirror="$(cat "${SCRIPT_DIR}/mirror")"
else
rand=$(date '+%S')
- rand=$(($rand % 2))
+ rand=$(($rand % 3))
case ${rand} in
0)
- mirror='http://mirror.gnu.dk/pub/proteanos'
+ mirror='http://us.mirror.gnu.dk/pub/proteanos'
;;
1)
+ mirror='http://eu.mirror.gnu.dk/pub/proteanos'
+ ;;
+ 2)
mirror='http://mirror.oss.maxcdn.com/proteanos'
;;
esac