summaryrefslogtreecommitdiff
path: root/templates/mirrors/mirrorlist.txt
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-09-21 18:58:34 -0500
committerDan McGee <dan@archlinux.org>2010-09-21 18:58:34 -0500
commit550ef2eeeb58a3899b612bf5f895b2ae962086a9 (patch)
tree0227750631a5eb062a24050d391a9438a9c586cf /templates/mirrors/mirrorlist.txt
parent5b87b21ccdd5938acf81afed00ccf0d957f5047c (diff)
Allow generated mirrorlist to take status info into account
By using the mirror score we calculate, we can sort the mirrors in the generated mirrorlist for people. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/mirrors/mirrorlist.txt')
-rw-r--r--templates/mirrors/mirrorlist.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/mirrors/mirrorlist.txt b/templates/mirrors/mirrorlist.txt
index 9d5b6919..2eedbd71 100644
--- a/templates/mirrors/mirrorlist.txt
+++ b/templates/mirrors/mirrorlist.txt
@@ -3,11 +3,11 @@ Yes, ugly templates are ugly, but in order to keep line breaks where we want
them, sacrifices have to be made. If editing this template, it is easiest to
forget about where line breaks are happening until you are done getting the
content right, and then go back later to fix it all up.
-{% endcomment %}{% autoescape off %}#
-# Arch Linux repository mirrorlist
-# Generated on {% now "Y-m-d" %}
-#{% for mirror_url in mirror_urls %}{% ifchanged %}
+{% endcomment %}{% autoescape off %}##
+## Arch Linux repository mirrorlist
+## Generated on {% now "Y-m-d" %}
+##{% for mirror_url in mirror_urls %}{% ifchanged %}
-# {{ mirror_url.mirror.country }}{% endifchanged %}
+## {{ mirror_url.mirror.country }}{% endifchanged %}
#Server = {{ mirror_url.url}}$repo/os/$arch{% endfor %}
{% endautoescape %}