From 93864c4b33d9999bf796db53322c783421041837 Mon Sep 17 00:00:00 2001 From: innocentzero Date: Sat, 2 Nov 2024 15:54:07 +0530 Subject: [PATCH] dont use sudo with flatpaks Signed-off-by: innocentzero --- src/backends/flatpak.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backends/flatpak.rs b/src/backends/flatpak.rs index 4a7d60f..d265396 100644 --- a/src/backends/flatpak.rs +++ b/src/backends/flatpak.rs @@ -148,7 +148,7 @@ impl Backend for Flatpak { .into_iter() .chain(Some("--assumeyes").filter(|_| no_confirm)) .chain(packages.keys().map(String::as_str)), - Perms::Sudo, + Perms::Same, )?; }