Commit b40e08db authored by Roland Singer's avatar Roland Singer

added mirrors

parent a35bb9a4
...@@ -2,3 +2,5 @@ ...@@ -2,3 +2,5 @@
install: install:
install -D -m 0755 bin/pacman-mirrors $(DESTDIR)/usr/bin/pacman-mirrors install -D -m 0755 bin/pacman-mirrors $(DESTDIR)/usr/bin/pacman-mirrors
install -D -m 0644 data/pacman-mirrors.conf $(DESTDIR)/etc/pacman-mirrors.conf install -D -m 0644 data/pacman-mirrors.conf $(DESTDIR)/etc/pacman-mirrors.conf
mkdir -p $(DESTDIR)/etc/pacman.d/mirrors
install -D -m 0644 data/mirrors/* $(DESTDIR)/etc/pacman.d/mirrors/
...@@ -88,12 +88,12 @@ rankmirrors() { ...@@ -88,12 +88,12 @@ rankmirrors() {
line="$(echo "$line" | sed -e 's/#.*//g' -e 's/^ *//g' -e 's/ *$//g')" line="$(echo "$line" | sed -e 's/#.*//g' -e 's/^ *//g' -e 's/ *$//g')"
if [[ "$line" == '['*']' ]]; then if [[ "$line" == '['*']' ]]; then
territory="$(echo "$line" | sed -e 's/\[//g' -e 's/\]//g')" territory="$(echo "$line" | sed -e 's/\[//g' -e 's/\]//g' -e 's/ /_/g')"
elif [[ "$line" == Server*=* ]]; then elif [[ "$line" == Server*=* ]]; then
# If only country is set, then only use the required country # If only country is set, then only use the required country
if [ "$OnlyCountry" != "" ] && [ "$OnlyCountry" != "$territory" ]; then continue; fi if [ "$OnlyCountry" != "" ] && [ "$OnlyCountry" != "$territory" ]; then continue; fi
local server="$(echo "$line" | sed -e 's/Server[ ]*=//g' -e 's/^ *//g' -e 's/ *$//g' -e 's/\$branch/$Branch/g')" local server="$(echo "$line" | sed -e 's/Server[ ]*=//g' -e 's/^ *//g' -e 's/ *$//g' -e "s/\$branch/$Branch/g")"
# Status # Status
echo -n " -> ... $server" echo -n " -> ... $server"
......
##
## Pacman Mirrorslist
##
[Brasil]
Server = http://manjaro.fis.unb.br/$branch/$repo/$arch
##
## Pacman Mirrorslist
##
[France]
Server = http://manjarolinux.polymorf.fr/$branch/$repo/$arch
##
## Pacman Mirrorslist
##
[Germany]
Server = http://ftp.halifax.rwth-aachen.de/manjaro/$branch/$repo/$arch
Server = http://mirror-europe1.vinzv.de/manjaro/repo/$branch/$repo/$arch
Server = http://mirror-europe2.vinzv.de/manjaro/repo/$branch/$repo/$arch
Server = http://ftp.tu-chemnitz.de/pub/linux/manjaro/$branch/$repo/$arch
Server = http://ftp.rz.tu-bs.de/pub/mirror/manjaro.org/repos/$branch/$repo/$arch
##
## Pacman Mirrorslist
##
[Greece]
Server = http://ftp.cc.uoc.gr/mirrors/linux/manjaro/$branch/$repo/$arch
##
## Pacman Mirrorslist
##
[Ireland]
Server = http://ftp.heanet.ie/mirrors/manjaro/$branch/$repo/$arch
Server = ftp://ftp.heanet.ie/mirrors/manjaro/$branch/$repo/$arch
##
## Pacman Mirrorslist
##
[Netherlands]
Server = ftp://ftp.nluug.nl/pub/os/Linux/distr/manjaro/$branch/$repo/$arch
Server = http://ftp.nluug.nl/pub/os/Linux/distr/manjaro/$branch/$repo/$arch
##
## Pacman Mirrorslist
##
[United_Kingdom]
Server = http://repo.manjaro.org.uk/$branch/$repo/$arch
##
## Pacman Mirrorslist
##
[United_States]
Server = http://mirror.dacentec.com/manjaro/$branch/$repo/$arch
Server = http://spiralinear.org/manjaro/repo/$branch/$repo/$arch
Server = http://mirror-us1.vinzv.de/manjaro/repo/$branch/$repo/$arch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment