From 5711f42ac33fe405e9c6cff7ae94e178819c1845 Mon Sep 17 00:00:00 2001 From: Ryan Hughes Date: Fri, 20 Feb 2026 17:48:24 -0500 Subject: [PATCH 1/2] Don't delete snapshot on error --- bin/omarchy-update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/omarchy-update b/bin/omarchy-update index a250166c..7b800005 100755 --- a/bin/omarchy-update +++ b/bin/omarchy-update @@ -2,7 +2,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";omarchy-snapshot delete' 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 [[ $1 == "-y" ]] || omarchy-update-confirm; then omarchy-snapshot create || [ $? -eq 127 ] From 929b09c4fba25eeac2612f8006e5b84d3e4a1637 Mon Sep 17 00:00:00 2001 From: Ryan Hughes Date: Fri, 20 Feb 2026 17:57:26 -0500 Subject: [PATCH 2/2] Remove. Doesn't work right. --- bin/omarchy-snapshot | 2 -- 1 file changed, 2 deletions(-) diff --git a/bin/omarchy-snapshot b/bin/omarchy-snapshot index d9f4c2d3..ee79512a 100755 --- a/bin/omarchy-snapshot +++ b/bin/omarchy-snapshot @@ -31,6 +31,4 @@ create) restore) sudo limine-snapper-restore ;; -delete) - sudo snapper -c "$config" delete 0 esac