From 351d8ac93850181c3d18c1c062dc84946d637f88 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 15 Oct 2025 18:22:01 +0300 Subject: [PATCH] Update packages as the very first thing --- migrations/{1751134561.sh => 1751134559.sh} | 7 ++++--- migrations/1751134562.sh | 3 --- 2 files changed, 4 insertions(+), 6 deletions(-) rename migrations/{1751134561.sh => 1751134559.sh} (58%) delete mode 100644 migrations/1751134562.sh diff --git a/migrations/1751134561.sh b/migrations/1751134559.sh similarity index 58% rename from migrations/1751134561.sh rename to migrations/1751134559.sh index 46a7ebf2..7ff5ca5d 100644 --- a/migrations/1751134561.sh +++ b/migrations/1751134559.sh @@ -1,9 +1,10 @@ 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 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 deleted file mode 100644 index f1752eca..00000000 --- a/migrations/1751134562.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "Ensure all indexes and packages are up to date" - -sudo pacman -Syu --noconfirm