Channel changes should prompt a full update
This commit is contained in:
1 parent
1a34be257c
commit
021d66f9b6
2 files changed
+2
-6
No files matched your search
@@ -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
|
||||
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user