Run the migration after switching channel

This commit is contained in:
David Heinemeier Hansson
2025-12-14 12:24:18 -08:00
parent 9b78e3c571
commit f39c2a91a5
2 changed files with 6 additions and 3 deletions

View File

@@ -13,3 +13,9 @@ case "$channel" in
"dev") omarchy-branch-set "dev" && omarchy-refresh-pacman "edge" ;; "dev") omarchy-branch-set "dev" && omarchy-refresh-pacman "edge" ;;
*) echo "Unknown channel: $channel"; exit 1; ;; *) echo "Unknown channel: $channel"; exit 1; ;;
esac esac
# Run any new migrations
omarchy-migrate
# Offer a reboot if a new kernel was installed
omarchy-update-restart

View File

@@ -20,6 +20,3 @@ echo
# Reset all package DBs and then update # Reset all package DBs and then update
sudo pacman -Syyu --noconfirm sudo pacman -Syyu --noconfirm
# Offer a reboot if a new kernel was installed
omarchy-update-restart