Last active
September 24, 2017 17:06
-
-
Save mohemohe/4f5c33184291e38319c41d9cbd6b71e0 to your computer and use it in GitHub Desktop.
arch2antergos.docker.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| curl https://www.archlinux.org/mirrorlist/all/ | grep .jp/ | cut -d'#' -f2 >| /etc/pacman.d/mirrorlist | |
| cp /etc/pacman.conf /etc/pacman.conf.orig | |
| cat <<EOS >> /etc/pacman.conf | |
| [antergos] | |
| SigLevel = Never | |
| Server = http://mirror.antergos.jp/$repo/$arch | |
| EOS | |
| pacman -Syyu antergos-keyring | |
| rm /etc/pacman.conf | |
| mv /etc/pacman.conf.orig /etc/pacman.conf | |
| cat <<EOS >> /etc/pacman.conf | |
| [antergos] | |
| SigLevel = Optional TrustAll | |
| Server = http://mirror.antergos.jp/$repo/$arch | |
| EOS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment