Ensure new mirrorlist is added as early as possible

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

No files matched your search

+2
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