Skip to content

Instantly share code, notes, and snippets.

@franciscocpg
Last active March 20, 2018 12:06
Show Gist options
  • Select an option

  • Save franciscocpg/98c405cc1867c050e7f12df052d9ec5a to your computer and use it in GitHub Desktop.

Select an option

Save franciscocpg/98c405cc1867c050e7f12df052d9ec5a to your computer and use it in GitHub Desktop.
Make sure pacman is using sync mirrors (in Brazil)
yaourt -S --noconfirm reflector-timer
sudo sh -c 'curl -s https://gist.githubusercontent.com/franciscocpg/98c405cc1867c050e7f12df052d9ec5a/raw/reflector.conf > /etc/conf.d/reflector.conf'
sudo systemctl enable --now reflector.timer
COUNTRY=Brazil
LATEST=30
NUMBER=20
SORT=delay
PROTOCOL1='-p http'
PROTOCOL2='-p https'
@franciscocpg

Copy link
Copy Markdown
Author

Remote install

bash <(curl -s https://gist.githubusercontent.com/franciscocpg/98c405cc1867c050e7f12df052d9ec5a/raw/install-reflector-timer.sh)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment