mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Channel changes should prompt a full update
This commit is contained in:
@@ -14,8 +14,4 @@ case "$channel" in
|
|||||||
*) echo "Unknown channel: $channel"; exit 1; ;;
|
*) echo "Unknown channel: $channel"; exit 1; ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Run any new migrations
|
omarchy-update -y
|
||||||
omarchy-migrate
|
|
||||||
|
|
||||||
# Offer a reboot if a new kernel was installed
|
|
||||||
omarchy-update-restart
|
|
||||||
|
|||||||
@@ -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
|
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-update-without-idle
|
||||||
omarchy-snapshot create || [ $? -eq 127 ]
|
omarchy-snapshot create || [ $? -eq 127 ]
|
||||||
omarchy-update-git
|
omarchy-update-git
|
||||||
|
|||||||
Reference in New Issue
Block a user