This commit is contained in:
2026-03-06 18:11:31 +00:00
parent f15b619ddc
commit a32a97304f
13 changed files with 72 additions and 22 deletions

View File

@@ -0,0 +1,14 @@
#!/bin/bash
mkdir -p /etc/pacman.d/gnupg
pacman-key --init
pacman-key --populate archlinux
# 3. Get Reflector (Using --needed so it doesn't reinstall if already there)
pacman -Sy --noconfirm --needed reflector
# 4. Clean the Mirrorlist (The most important part!)
reflector --latest 5 --protocol https --sort rate --save /etc/pacman.d/mirrorlist
# 5. Final sync so the 'packages' module is ready to go
pacman -Sy