fetchmirrors
fetchmirrors copied to clipboard
Arch Linux pacman mirrorlist update utility
Sorry for mixing formatting and code, fortunately it is a small change.
I think I found a small typo. On this line: https://github.com/deadhead420/fetchmirrors/blob/master/fetchmirrors.sh#L54 it says "Isreal". According to [wikipedia](https://en.wikipedia.org/wiki/Israel), it should be "Isr**ae**l". (don't know how to make a pull request, yet,...
AS and AM input were detected as a country and the URL was ?country=AS, what's a 404. Now they're detected correctly.
I used shellcheck to validate the script. see the commits added new countries
like [update-pacman-mirrorlist](https://aur.archlinux.org/packages/update-pacman-mirrorlist/)