diff --git a/_posts/2015-10-09-arch-reflector.md b/_posts/2015-10-09-arch-reflector.md index 9a79de8..647f457 100644 --- a/_posts/2015-10-09-arch-reflector.md +++ b/_posts/2015-10-09-arch-reflector.md @@ -40,3 +40,13 @@ sudo pacman -Syu 5. Check for updates & install them. Do check the service itself at https://github.com/Mikaela/shell-things/raw/master/etc/systemd/system/reflector.service ! + +Bonus: edit `/etc/pacman.conf` and add the line: + +``` +NoExtract = etc/pacman.d/mirrorlist +``` + +so when you upgrade you won't get useless mirrorlist.pacnew file. **NOTE:** +it's intented to be `etc/pacman.d/mirrorlist` without the initial `/`, +because it's *relative*, not *absolute*, path.