Difference between revisions of "Pacman-mirrors"
→Files used by pacman-mirrors
imported>Fhdk |
imported>Fhdk |
||
Line 151: | Line 151: | ||
===Files used by pacman-mirrors=== | ===Files used by pacman-mirrors=== | ||
====File: <code>/etc/pacman-mirrors.conf</code> <small>(sample - changed by pacman-mirrors api commands)</small>==== | |||
<div class="toccolours mw-collapsible mw-collapsed"> | |||
To view the content of a default mirror pool - click the link to the right ---> | |||
<div class="mw-collapsible-content"> | |||
<pre> | |||
~ >>> cat /usr/share/pacman-mirrors/mirrors.json | |||
## | |||
## /etc/pacman-mirrors.conf | |||
## | |||
## Branch Pacman should use (stable, testing, unstable) | |||
# Branch = stable | |||
## Generation method | |||
## 1) rank - rank mirrors depending on their access time | |||
## 2) random - randomly generate the output mirrorlist | |||
# Method = rank | |||
## Define protocols and priority | |||
## separated by comma 'https,http' or 'http,https' | |||
## ATM available protocols are: http, https, ftp | |||
## Not specifying a protocol will ban the protocol from being used | |||
## If a mirror has more than one protocol defined only the first is written to the mirrorlist | |||
## Empty means all in reversed alphabetic order | |||
# Protocols = | |||
## When set to False - all certificates are accepted. | |||
## Use only if you fully trust all ssl-enabled mirrors. | |||
# SSLVerify = True | |||
</pre> | |||
</div> | |||
</div> | |||
====File: <code>/usr/share/pacman-mirrors/pacman-mirrors.json</code> <small>(sample - self updating)</small>==== | ====File: <code>/usr/share/pacman-mirrors/pacman-mirrors.json</code> <small>(sample - self updating)</small>==== |