From 7deb10ea6b0fb2a51a1ffcd65bc79c77a0d0b362 Mon Sep 17 00:00:00 2001 From: Ganwtrs Date: Mon, 8 Dec 2025 18:03:05 -0800 Subject: [PATCH] Replace 'sudo' with 'run0' in vault.sh Signed-off-by: Ganwtrs --- fedora-gnome/vault.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fedora-gnome/vault.sh b/fedora-gnome/vault.sh index 91a45d3..4e19321 100644 --- a/fedora-gnome/vault.sh +++ b/fedora-gnome/vault.sh @@ -17,17 +17,17 @@ set -eu unpriv(){ - sudo -u nobody "${@}" + run0 -u nobody "${@}" } download() { - unpriv curl -s --proxy http://127.0.0.1:8082 "${1}" | sudo tee "${2}" > /dev/null + unpriv curl -s --proxy http://127.0.0.1:8082 "${1}" | run0 tee "${2}" > /dev/null } download https://raw.githubusercontent.com/TommyTran732/QubesOS-Scripts/main/etc/qubes-rpc/qubes.SshAgent /etc/qubes-rpc/qubes.SshAgent -sudo chmod +x /etc/qubes-rpc/qubes.SshAgent +run0 chmod +x /etc/qubes-rpc/qubes.SshAgent # Not using openssh-askpass here, because of this bug: # https://github.com/QubesOS/qubes-issues/issues/9741 -sudo dnf install -y keepassxc okular pinentry-gnome3 \ No newline at end of file +run0 dnf install -y keepassxc okular pinentry-gnome3