Update packages as the very first thing

This commit is contained in:
David Heinemeier Hansson committed 2025-10-15 18:22:03 +03:00
1 parent 4100ebba47
commit 351d8ac938
2 files changed
+4 -6

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
echo "Add Omarchy Package Repository"
sudo cp -f ~/.local/share/omarchy/default/pacman/mirrorlist /etc/pacman.d/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
fi
sudo systemctl restart systemd-timesyncd
sudo pacman -Syu --noconfirm