Warn when disk space is low before updating in Quattro (#6432)

* Warn when disk space is low before updating

* Simplify update free space warning

* Stop updates without enough free space

* Allow forcing updates with low disk space

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
This commit is contained in:
Eric van Riet Paap
2026-07-29 18:47:27 -04:00
committed by GitHub
co-authored by David Heinemeier Hansson
parent 2093d1c9c7
commit bf4aac95ad
4 changed files with 162 additions and 0 deletions
+2
View File
@@ -102,6 +102,8 @@ run_update_pipeline() {
acquire_update_lock
omarchy-update-requires-free-space
trap restore_update_inhibitors EXIT
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