Commit c0bb9301 authored by Jean-Francois Rey's avatar Jean-Francois Rey
Browse files

change mirror for msys2 -> faster

parent 5f09f9c9
......@@ -6,12 +6,12 @@
sed -i.bak -e "s/^#\[msys\]/\[msys\]/" -e "s/^#Include/Include/" /etc/pacman.conf
#echo -e "Server = http://repo.msys2.org/mingw/\$arch/" >> /etc/pacman.d/mirrorlist.msys
#echo -e "Server = http://repo.msys2.org/mingw/x86_64/" >> /etc/pacman.d/mirrorlist.mingw64
echo -e "Server = https://sourceforge.net/projects/msys2/files/REPOS/MSYS2/\$arch/" >> /etc/pacman.d/mirrorlist.msys
echo -e "Server = https://sourceforge.net/projects/msys2/files/REPOS/MSYS2/x86_64/" >> /etc/pacman.d/mirrorlist.mingw64
echo -e "Server = https://mirror.selfnet.de/msys2/msys/\$arch/" >> /etc/pacman.d/mirrorlist.msys
echo -e "Server = https://mirror.selfnet.de/msys2/msys/x86_64/" >> /etc/pacman.d/mirrorlist.mingw64
# Update server gpg key
curl -O https://sourceforge.net/projects/msys2/files/REPOS/MSYS2/x86_64/msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz
curl -O https://sourceforge.net/projects/msys2/files/REPOS/MSYS2/x86_64/msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz.sig
curl -O https://mirror.selfnet.de/msys2/msys/x86_64/msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz
curl -O https://mirror.selfnet.de/msys2/msys/x86_64/msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz.sig
#curl -O http://repo.msys2.org/msys/x86_64/msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz
#curl -O http://repo.msys2.org/msys/x86_64/msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz.sig
pacman-key --verify msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz.sig
......
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