Ensure new mirrorlist is added as early as possible

This commit is contained in:
David Heinemeier Hansson
2025-08-31 13:30:57 +02:00
parent f643d97211
commit a44ea9c232
3 changed files with 10 additions and 5 deletions

View File

@@ -1,5 +1,7 @@
echo "Add Omarchy Package Repository"
omarchy-refresh-pacman-mirrorlist
if ! grep -q "omarchy" /etc/pacman.conf; then
sudo sed -i '/^\[core\]/i [omarchy]\nSigLevel = Optional TrustAll\nServer = https:\/\/pkgs.omarchy.org\/$arch\n' /etc/pacman.conf
sudo systemctl restart systemd-timesyncd