From 97b9a5b4951ba1223ac97047bd77f4e2da955a56 Mon Sep 17 00:00:00 2001 From: theMZet Date: Fri, 29 May 2026 21:20:30 +0200 Subject: [PATCH] fix: getting proper system state Instead of getting only explicitly installed packages from official repo, returned was every explisitly installed package. Instead of getting only explicitly installed packages from unofficial sources (aur), returned was every package installed from unofficial sources. --- src/package_manager.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/package_manager.rs b/src/package_manager.rs index cdaed81..72104ba 100644 --- a/src/package_manager.rs +++ b/src/package_manager.rs @@ -3,7 +3,7 @@ use std::process::{Command, Stdio}; pub fn get_system_state() -> Result { let command = Command::new("pacman") - .arg("-Qqe") + .arg("-Qqen") .stdout(Stdio::piped()) .output()?; @@ -13,7 +13,7 @@ pub fn get_system_state() -> Result { .collect(); let command = Command::new("pacman") - .arg("-Qqm") + .arg("-Qqem") .stdout(Stdio::piped()) .output()?;