Use sudo for terminal update inhibition

This commit is contained in:
David Heinemeier Hansson
2026-08-10 03:45:49 -07:00
parent dc1224c03a
commit 4cc14933a4
3 changed files with 38 additions and 2 deletions
+2
View File
@@ -65,6 +65,7 @@ exit 0'
for command in \
omarchy-cmd-present \
omarchy-toggle-idle \
pkexec \
systemd-inhibit \
omarchy-update-dev \
omarchy-update-keyring \
@@ -80,6 +81,7 @@ for command in \
write_stub "$command" 'exit 0'
done
write_stub omarchy-update-available 'exit 1'
write_stub pkexec 'exec "$@"'
set +e
TEST_AVAILABLE_BYTES=$((9 * 1024 * 1024 * 1024)) \