blob: 3ba4f7fa9963895c58211bdf262072947068c493 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  | 
#!/bin/sh
# cjennings generates arch linux mirror list
echo "Updating mirrorlist. Please be patient. This may take a few minutes...."
echo " "
sudo reflector \
          --connection-timeout 3 \
          --download-timeout 3 \
          --protocol https \
		  --country US \
		  --age 18 \
          --latest 20 \
          --score 10 \
          --fastest 5 \
		  --sort score \
          --save /etc/pacman.d/mirrorlist > /dev/null 2>&1 
cat /etc/pacman.d/mirrorlist
echo " "
echo "Done."
  |