Channel changes should prompt a full update

This commit is contained in:
David Heinemeier Hansson
2025-12-15 10:04:00 -08:00
parent 1a34be257c
commit 021d66f9b6
2 changed files with 2 additions and 6 deletions

View File

@@ -14,8 +14,4 @@ case "$channel" in
*) 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
omarchy-update -y

View File

@@ -4,7 +4,7 @@ set -e
trap 'echo ""; echo -e "\033[0;31mSomething went wrong during the update!\n\nPlease review the output above carefully, correct the error, and retry the update.\n\nIf you need assistance, get help from the community at https://omarchy.org/discord\033[0m"' ERR
if omarchy-update-confirm; then
if [[ $1 == "-y" ]] || omarchy-update-confirm; then
omarchy-update-without-idle
omarchy-snapshot create || [ $? -eq 127 ]
omarchy-update-git