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