From c0dc0a0e472c3de54d5aa8d59d0f86aa27fba1bb Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 15 Oct 2025 18:25:05 +0300 Subject: [PATCH] Revert "Update packages as the very first thing" This reverts commit 351d8ac93850181c3d18c1c062dc84946d637f88. --- migrations/{1751134559.sh => 1751134561.sh} | 7 +++---- migrations/1751134562.sh | 3 +++ 2 files changed, 6 insertions(+), 4 deletions(-) rename migrations/{1751134559.sh => 1751134561.sh} (58%) create mode 100644 migrations/1751134562.sh diff --git a/migrations/1751134559.sh b/migrations/1751134561.sh similarity index 58% rename from migrations/1751134559.sh rename to migrations/1751134561.sh index 7ff5ca5..46a7ebf 100644 --- a/migrations/1751134559.sh +++ b/migrations/1751134561.sh @@ -1,10 +1,9 @@ echo "Add Omarchy Package Repository" -sudo cp -f ~/.local/share/omarchy/default/pacman/mirrorlist /etc/pacman.d/mirrorlist +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 + sudo pacman -Syu --noconfirm fi - -sudo systemctl restart systemd-timesyncd -sudo pacman -Syu --noconfirm diff --git a/migrations/1751134562.sh b/migrations/1751134562.sh new file mode 100644 index 0000000..f1752ec --- /dev/null +++ b/migrations/1751134562.sh @@ -0,0 +1,3 @@ +echo "Ensure all indexes and packages are up to date" + +sudo pacman -Syu --noconfirm