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.
This commit is contained in:
2026-05-29 21:20:30 +02:00
parent 3a435e7493
commit 97b9a5b495
+2 -2
View File
@@ -3,7 +3,7 @@ use std::process::{Command, Stdio};
pub fn get_system_state() -> Result<Packages> { pub fn get_system_state() -> Result<Packages> {
let command = Command::new("pacman") let command = Command::new("pacman")
.arg("-Qqe") .arg("-Qqen")
.stdout(Stdio::piped()) .stdout(Stdio::piped())
.output()?; .output()?;
@@ -13,7 +13,7 @@ pub fn get_system_state() -> Result<Packages> {
.collect(); .collect();
let command = Command::new("pacman") let command = Command::new("pacman")
.arg("-Qqm") .arg("-Qqem")
.stdout(Stdio::piped()) .stdout(Stdio::piped())
.output()?; .output()?;