From 43dc34a24f55c1f7cec5c3570fb72d27aa45c857 Mon Sep 17 00:00:00 2001 From: iff Date: Sun, 8 Dec 2024 11:24:05 +0100 Subject: [PATCH] fix: actually use cnf path --- src/system.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system.rs b/src/system.rs index 76fe579..bcb26f6 100644 --- a/src/system.rs +++ b/src/system.rs @@ -135,7 +135,7 @@ pub fn get_packages( _ => { match package_manager.ends_with("command-not-found") { true => { - let result = command_output(shell, &format!("command-not-found {}", executable)); + let result = command_output(shell, &format!("{} {}", package_manager, executable)); if result.is_empty() { return None; }