mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Run the migration after switching channel
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user