Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
R ecosystem
WindowsR
Commits
c0bb9301
Commit
c0bb9301
authored
Oct 05, 2020
by
Jean-Francois Rey
☕
Browse files
change mirror for msys2 -> faster
parent
5f09f9c9
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ansible_provisioning/files/configure-msys2.sh
View file @
c0bb9301
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment