From 142cc66e0603510e90aa112fc8f852fdc6c71d5e Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Sat, 17 Oct 2015 15:02:15 +0300 Subject: [PATCH] Arch reflector: bonus: no extract --- _posts/2015-10-09-arch-reflector.md | 10 ++++++++++ 1 file changed, 10 insertions(+) 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.