Update packages as the very first thing

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

View File

@@ -1,9 +1,10 @@
echo "Add Omarchy Package Repository" echo "Add Omarchy Package Repository"
omarchy-refresh-pacman-mirrorlist sudo cp -f ~/.local/share/omarchy/default/pacman/mirrorlist /etc/pacman.d/mirrorlist
if ! grep -q "omarchy" /etc/pacman.conf; then 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 sed -i '/^\[core\]/i [omarchy]\nSigLevel = Optional TrustAll\nServer = https:\/\/pkgs.omarchy.org\/$arch\n' /etc/pacman.conf
sudo systemctl restart systemd-timesyncd
sudo pacman -Syu --noconfirm
fi fi
sudo systemctl restart systemd-timesyncd
sudo pacman -Syu --noconfirm

View File

@@ -1,3 +0,0 @@
echo "Ensure all indexes and packages are up to date"
sudo pacman -Syu --noconfirm