From f39c2a91a53d9475622fd1f4eb532e102cb2216c Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 14 Dec 2025 12:24:18 -0800 Subject: [PATCH] Run the migration after switching channel --- bin/omarchy-channel-set | 6 ++++++ bin/omarchy-refresh-pacman | 3 --- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/bin/omarchy-channel-set b/bin/omarchy-channel-set index 653d3bb3..76b28bea 100755 --- a/bin/omarchy-channel-set +++ b/bin/omarchy-channel-set @@ -13,3 +13,9 @@ case "$channel" in "dev") omarchy-branch-set "dev" && omarchy-refresh-pacman "edge" ;; *) echo "Unknown channel: $channel"; exit 1; ;; esac + +# Run any new migrations +omarchy-migrate + +# Offer a reboot if a new kernel was installed +omarchy-update-restart diff --git a/bin/omarchy-refresh-pacman b/bin/omarchy-refresh-pacman index 41626ac4..d9ab3d2a 100755 --- a/bin/omarchy-refresh-pacman +++ b/bin/omarchy-refresh-pacman @@ -20,6 +20,3 @@ echo # Reset all package DBs and then update sudo pacman -Syyu --noconfirm - -# Offer a reboot if a new kernel was installed -omarchy-update-restart