Prevent the need for double sudo

This commit is contained in:
David Heinemeier Hansson
2026-04-06 09:36:35 +02:00
parent 7bef44a4be
commit abace0cbd5
2 changed files with 7 additions and 7 deletions
-7
View File
@@ -2,13 +2,6 @@
set -e
# Run the update inside a PTY so pacman/yay keep showing download progress
# while still logging the full session for later analysis.
if [[ -z $OMARCHY_UPDATE_LOGGED ]]; then
script_command=$(printf '%q ' "$0" "$@")
exec env OMARCHY_UPDATE_LOGGED=1 script -qefc "$script_command" "/tmp/omarchy-update.log"
fi
# Ensure screensaver/sleep doesn't set in during updates
hyprctl dispatch tagwindow +noidle &>/dev/null || true